diff options
-rw-r--r-- | libraries/base/GHC/List.lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/List.lhs b/libraries/base/GHC/List.lhs index b2ec4f8e03..5dcf7e0ae4 100644 --- a/libraries/base/GHC/List.lhs +++ b/libraries/base/GHC/List.lhs @@ -89,7 +89,7 @@ last (x:xs) = last' x xs #endif -- | Return all the elements of a list except the last one. --- The list must be finite and non-empty. +-- The list must be non-empty. init :: [a] -> [a] #ifdef USE_REPORT_PRELUDE init [x] = [] |