extension list #699

Closed
bos opened this Issue May 24, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

bos commented May 24, 2012

(Imported from Trac #708, reported by @igfoo on 2010-07-11)

I was going to add the new DatatypeContexts extension to Cabal's extension list, but the datatype confused me. It seems to list the extensions relative to Haskell98 (i.e. NoFoo if Foo is H98, Foo otherwise), but this seems odd now that we also have a Haskell2010 standard. And does it allow extensions to be toggled on or off, regardless of which way they are listed in the datatype?

Also, the haddock comments refer the GHC manual sections, but don't say what version of GHC's manual the numbers refer to. I think it would be better to drop the numbers, rather than having to manually keep them up-to-date - especially as someone might use a Cabal release with a different GHC version.

Contributor

bos commented May 24, 2012

(Imported comment by @igfoo on 2010-07-11)

DoAndIfThenElse also needs to be added.

Contributor

bos commented May 24, 2012

(Imported comment by @dcoutts on 2010-08-08)

See also #560.

Member

23Skidoo commented May 2, 2013

DatatypeContexts and DoAndIfThenElse have been added. There is now also a Language datatype for Haskell 98 vs Haskell 2010. Closing, please reopen if you disagree.

23Skidoo closed this May 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment