[Haskell-cafe] Why the Prelude must die

David House dmhouse at gmail.com
Sat Mar 24 14:57:08 EDT 2007


On 24/03/07, Stefan O'Rear <stefanor at cox.net> wrote:
> This is a ranty request for comments, and the more replies the better.

Without responding to any particular comment, my opinion is that we
should have a minimal Prelude with functions like (.) that couldn't be
reasonably redefined in any function. Most of the list functions
should have to be imported, to encourage people to use a Map or Array
and so on. Read should be in Text.Read to encourage people to use
Parsec and so on.

I wouldn't necessarily be against a minimal Prelude/expanded Prelude
split determined by a 'module M where' declaration, as suggested by
Sebastian.

--
-David House, dmhouse at gmail.com


More information about the Haskell-Cafe mailing list