Three patches for cabal
niklas.broberg at gmail.com
Wed Jun 3 10:41:59 EDT 2009
(Trying again since my previous patches were too big for the list.)
While doing a survey of the extensions registered with Cabal, I
came across two warts in the list of constructors, and one constructor
that should be deprecated.
First there's the constructor called TransformListComp, which should
really be named GeneralizedListComp, since the constructor should
describe the extension and not the implementation scheme.
Second there's the constructor NoMonoPatBinds, which actually
describes the default Haskell 98 behavior, even if GHC has a different
default. It's GHC's behavior that is the extension, so the constructor
in cabal should really be named MonoPatBinds.
Also, the PatternSignatures constructor has been deprecated in GHC and
superceded by ScopedTypeVariables.
The attached patches (three in one file) adds the proposed new
constructors, deprecates the old ones, and adds documentation.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 38047 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/libraries/attachments/20090603/67938aa4/GeneralizedListComp-et-al-0001.obj
More information about the Libraries