minimal Prelude (was Re: Export lists in modules)

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed Feb 22 17:04:19 EST 2006


Wolfgang Jeltsch <wolfgang at jeltsch.net> writes:

> > module Prelude.Standard
> >     ( module Prelude
> >     , module Prelude.Num
> >     , module Prelude.Comparison
> >     , module Prelude.Monad
> >     , module Prelude.List
> >     , module Prelude.Maybe
> >     , module Prelude.Either
> >     , module Prelude.Tuple
> >     , module Prelude.IO
> >     , module Prelude.Text
> >     )
> 
> Why Prelude.List, not Data.List, etc.?

No particular reason.  Either choice would be good.  (But I didn't want
to imply that everything currently in Data.List would be re-exported,
since it defines more than just Prelude entities.)

Regards,
    Malcolm


More information about the Haskell-prime mailing list