diff options
Diffstat (limited to 'libraries/base/Data/List.hs')
-rw-r--r-- | libraries/base/Data/List.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/base/Data/List.hs b/libraries/base/Data/List.hs index 4474e51268..6f55808394 100644 --- a/libraries/base/Data/List.hs +++ b/libraries/base/Data/List.hs @@ -18,8 +18,9 @@ module Data.List ( -- * Basic functions + List - (++) + , (++) , head , last , tail @@ -221,6 +222,8 @@ import Data.OldList hiding ( all, and, any, concat, concatMap, elem, find, import GHC.Base ( Bool(..), Eq((==)), otherwise ) +type List = [] + -- | The 'isSubsequenceOf' function takes two lists and returns 'True' if all -- the elements of the first list occur, in order, in the second. The -- elements do not have to occur consecutively. |