[Haskell-cafe] ANN: haskell-src-exts-1.3.0
pepeiborra at gmail.com
Wed Nov 4 09:57:15 EST 2009
This release promptly fixes an annoying bug I was about to report with
the pretty printing (not exact) of infix function declarations like
> instance Applicative (Either e) where
> pure = Right
> Right f <*> Right x = Right (f x)
> Left e <*> _ = Left e
> _ <*> Left e = Left e
On 04/11/2009, at 15:05, Niklas Broberg wrote:
> Fellow Haskelleers,
> I'm pleased to announce the release of haskell-src-exts-1.3.0!
> * On hackage: http://hackage.haskell.org/package/haskell-src-exts
> * Via cabal: cabal install haskell-src-exts
> * Darcs repo: http://code.haskell.org/haskell-src-exts
> Version 1.3.0 is a new major release, following the PVP, as it
> contains a few backwards-incompatible changes, making the 1.2.x branch
> a very short parenthesis in history. There are two main new things in
> 1.3.0: fixity application is now handled uniformly regardless of which
> AST you use, simple or annotated, and the parser now supports multiple
> modules in the same source file.
> * The *.Fixity modules now export the same Fixity type (incidentally
> the one previously used by the simple un-annotated parsing) and the
> same helper functions. If you've done all your Fixity handling using
> the helper functions (infix_, infixl_, infixr_), or if you've only
> used fixities for the un-annotated AST, you're safe. Only if you've
> manually created values of the annotated Fixity type will you need to
> pay attention.
> * A new entry point in the parser allows multiple modules to be parsed
> from the same source file ( parseModules[With[Mode|Comments]] ).
> * SpecialCon is now an instance of Pretty (don't ask me why it
> wasn't before).
> * fromParseResult now displays the filename in case of a failed parse.
> * A few bug fixes to the exact-printer (that not many seem to be using
> just yet).
> Please help me test and report! Grab a darcs version, put your source
> files in the Test/examples dir, and go cabal test (in the top dir).
> Any failing cases not due to CPP or literate source files (for the
> exact-printer), please report to the trac:
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe