fix types
This commit is contained in:
parent
38b02de1a8
commit
e7a555bf21
1 changed files with 2 additions and 2 deletions
|
@ -12,11 +12,11 @@ head :: [a] -> a
|
|||
head = Prelude.head
|
||||
|
||||
{- tail is also partial -}
|
||||
tail :: [a] -> a
|
||||
tail :: [a] -> [a]
|
||||
tail = Prelude.tail
|
||||
|
||||
{- init too -}
|
||||
init :: [a] -> a
|
||||
init :: [a] -> [a]
|
||||
init = Prelude.init
|
||||
|
||||
{- last too -}
|
||||
|
|
Loading…
Reference in a new issue