On Thu, May 23, 2013 at 11:38 AM, Anton Kholomiov <anton.kholom...@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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to