On 14/07/2010 03:36, John Meacham wrote:
On Tue, Jul 13, 2010 at 10:24:00AM +0100, Simon Marlow wrote:
Well, a main useful case is that I can do -phaskell98 and -phaskell2010
at the same time. So I can make the default jhc behavior be the union of
the two languages easily.

That works in GHC too: the modules of those two packages don't overlap.
That is partly because we never moved Prelude from base to haskell98.

But don't you still have to have things directly declare they depend on
'base' then in order to get 'Prelude'? The extra dependency on the
implementation specific 'base' because you want both haskell98 and
haskell2010 is what I am trying to avoid.

In GHC 6.14.1 you'll be able to depend on haskell2010 instead of base if you wish, and we'll recommend doing so where it makes sense (indeed, if you use haskell2010 then you *cannot* also depend on base). Also, haskell98 and haskell2010 can be used together if you really want to.

Cheers,
        Simon
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to