[Haskell-cafe] Newbie Q: GHCi: Where ?List? module is imported from?

Benjamin Franksen benjamin.franksen at bessy.de
Fri Feb 16 15:00:55 EST 2007

Jules Bean wrote:
> Dmitri O.Kondratiev wrote:
>> "Set" module here is built with list and uses among other things list
>> comparison functions such as (==) and (<=).
>> Q1:  Where "List" module is imported from?
>> GHC "Base" package contains "Data.List" module, not just "List" module.
> List was the old name for it. Data.List is the new name.

You can also use package haskell98 which gives you the original
non-hierarchical standard library modules.


More information about the Haskell-Cafe mailing list