Prelude not in haskell98?

Isaac Dupree isaacdupree at charter.net
Tue Jun 5 20:05:38 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan O'Rear wrote:
>> Right, the problem is that if Prelude was in haskell98 then it wouldn't
>> be possible to have a program that /didn't/ depend on haskell98 (short
>> of -fno-implicit-prelude extensions, or having a Prelude in both (which
>> would mean you couldn't depend on both base and haskell98)).
> 
> There's also a pragmatic reason.  Currently it is impossible to have a
> cycle of module imports cross package boundaries; so if the Prelude was
> in haskell98, then (since the Prelude depends on non-haskell98 base
> modules for its implementation) *Nothing* in base could use the prelude.

(Assuming haskell98 depends on base currently)  It seems we would want
haskell98 to re-export base's Prelude.  It's just that that's not
implemented in released-ghc package management code.

Isaac

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZfpSHgcxvIWYTTURAhPvAJwIe+CTJnOBpOLQohbK+kC8Rg2XawCeK+E0
H8vIR1fCNZE9C2/dMLXLvQw=
=aMyC
-----END PGP SIGNATURE-----


More information about the Glasgow-haskell-users mailing list