Browse Source

add type for the cons operator

pull/18/head
nisstyre56 10 years ago
parent
commit
292517cb5c
  1. 2
      prelude.jl

2
prelude.jl

@ -18,6 +18,8 @@ deftype Byte Intrinsic
deftype Void Intrinsic
(: :: (a -> (List a) -> (List a)))
(map :: ((a -> b) -> (List a) -> (List b)))
(head :: ((List a) -> a))

Loading…
Cancel
Save