[Haskell-cafe] ANNOUNCE: new bridge! (prelude-prime)

Michael Snoyman michael at snoyman.com
Thu May 23 11:36:33 CEST 2013


On Thu, May 23, 2013 at 11:38 AM, Anton Kholomiov <anton.kholomiov at gmail.com
> wrote:

> I wish it was possible to use an extension
>
> CustomPrelude = Prelude.Prime
>
> In the cabal file
>
>
>
I'm not necessarily opposed to this idea, but I'd like to point out that it
can have a negative impact on readability of an individual module, since
you can't tell which Prelude is being used. This is the same argument used
for putting LANGUAGE pragmas in a modules instead of listing them in a
cabal file. I think in the case of an alternate Prelude, the argument is
stronger, since language extensions often don't change the meaning of code,
but instead allow previously invalid code to be valid.

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130523/33318ad6/attachment.htm>


More information about the Haskell-Cafe mailing list