From 3d7f2c743af4efde522050be2b43b8c0632d6e2b Mon Sep 17 00:00:00 2001 From: hasufell Date: Sun, 14 Dec 2014 18:01:42 +0100 Subject: [PATCH] PRELUDE: fix doc of tailInit --- MyPrelude.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MyPrelude.hs b/MyPrelude.hs index 4db0fb5..f495fe9 100644 --- a/MyPrelude.hs +++ b/MyPrelude.hs @@ -48,7 +48,7 @@ getLastX a xs -- |Get a list with it's head and last element cut. If there are less --- than 2 elements in the list, return an empty list. +-- than 3 elements in the list, return an empty list. tailInit :: [a] -> [a] tailInit xs | length xs > 2 = tail . init $ xs