summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-12-15 15:39:33 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-12-15 15:39:33 -0400
commite7a555bf211c5b7a3c998dcd3d4f0e3f0ce65974 (patch)
treedb5d3b1eb270ada311f5488bd9f4c01cbea3b09e /Utility
parent38b02de1a84728ff087bc18f08c597c384eacc78 (diff)
fix types
Diffstat (limited to 'Utility')
-rw-r--r--Utility/BadPrelude.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utility/BadPrelude.hs b/Utility/BadPrelude.hs
index 7921a7e9b..8e4105cee 100644
--- a/Utility/BadPrelude.hs
+++ b/Utility/BadPrelude.hs
@@ -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 -}