[Haskell-cafe] Re: ANN: haskell-src-exts 1.0.0 rc1 (aka 0.5.2)

2009-06-16 Thread Niklas Broberg
> * Via cabal: cabal install haskell-src-exts

Thanks a lot to Brian Lewis for catching the first bug - cabal install
doesn't even work for 0.5.2! The problem is that the cabal test
machinery can't find the Language.Haskell.Exts modules, unless
haskell-src-exts is already installed first... At any rate:

I'm pleased to announce haskell-src-exts-0.5.3! Everything else from
above still applies. :-)

Cheers,

/Niklas
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANN: haskell-src-exts 1.0.0 rc1 (aka 0.5.2)

2009-06-17 Thread Niklas Broberg
Hi all,

> This means I feel ready to take that scary leap that means to drop the
> safe 0.x version numbering (experimental) and finally make the first
> stable release, version 1.0.0. But before I take that leap I want the
> library to be thoroughly tested, so I can with confidence say that it
> truly *is* stable. Therefore, I hereby announce the release on hackage
> of haskell-src-exts-0.5.2, which I consider (almost) a release
> candidate for 1.0.0.

I have just uploaded haskell-src-exts-0.5.4 to hackage, which is 1.0.0
rc2. Thanks a lot to those who tested the previous version, and please
continue to test and report!


Changes in 0.5.4:
==

Three fixed bugs:

* BangPatterns are now parsed correctly in function bindings.
* Single-item class contexts are now accepted with parenthesis around
them (doh!).
* The haddock documentation (paltry as it is) can now be built. Thanks
a lot to Brian Lewis for the patch, which rearranges my commented
guard clause. Haddock apparently didn't like the '{- | guard = ...'
line...

One new feature:

* The parseFileX family of functions now all recognize and act on
LANGUAGE pragmas (previously only parseFile did). There is now also an
extra field in the ParseMode called 'ignoreLanguagePragmas', which
defaults to False. Set it to True if you really want parseFile et al
to disregard LANGUAGE pragmas. (Note that you can always use the
simple 'parse' function that doesn't try to be clever at all.)


Cheers,

/Niklas
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANN: haskell-src-exts 1.0.0 rc1 (aka 0.5.2)

2009-06-18 Thread Niklas Broberg
> I have just uploaded haskell-src-exts-0.5.4 to hackage, which is 1.0.0
> rc2. Thanks a lot to those who tested the previous version, and please
> continue to test and report!

Another day, another release candidate. Please see
haskell-src-exts-0.5.5, 1.0.0 rc3. Thanks a lot to all reports, and
please keep up the good work!

Changes in 0.5.5:


* BangPatterns are now correctly handled everywhere (I think - tricksy
little imps they are). I would like to put out a special call for
tests of files that use bang patterns, in particular if they appear in
"strange" locations inside patterns.

* TypeFamilies now implies KindSignatures, as in GHC.

* Chained contexts, e.g. foo :: Eq a => Show a => a, are now handled correctly.

* . is no longer considered a reserved operator but a special operator
when explicit forall is enabled, which means Prelude.. now parses
correctly.

* Parenthesised patterns inside list patterns no longer require
RegularPatterns enabled.

* List expressions are no longer translated to tuple expressions by
the fixity mangler (yes, it did that)...


Cheers,

/Niklas
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANN: haskell-src-exts 1.0.0 rc1 (aka 0.5.2)

2009-06-19 Thread Niklas Broberg
Hi all,

> Another day, another release candidate. Please see
> haskell-src-exts-0.5.5, 1.0.0 rc3. Thanks a lot to all reports, and
> please keep up the good work!

Here we go again. Please have a look at haskell-src-exts-0.5.6, or
1.0.0 rc4. Thanks again for the reports, they're all truly invaluable.

Changes in 0.5.6:
===

One major addition:

* Support for relaxed layout in do-blocks! Yes, I caved in, after I
got enough reports about it.


Two stupid bugs fixed:

* MagicHash ConId lexemes can now be followed by things other than
space characters (like closing brackets: foo :: (Int#)).

* ctypes (i.e. types with contexts and forall-quantifiers) can now
appear inside tuples and lists if the proper extensions are on.


Cheers,

/Niklas
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: ANN: haskell-src-exts 1.0.0 rc1 (aka 0.5.2)

2009-06-21 Thread Niklas Broberg
Dear all,

I'm pleased to announce to you haskell-src-exts-0.5.7, which is truly
the first *real* release candidate for 1.0.0. By real, I mean that I
could consider releasing it in this state. It is feature complete,
fully documented, and has no remaining known bugs. But before I do,
I'd like to run it past you all one final time. Please help me test
it!

Via cabal: cabal install haskell-src-exts
Via darcs: darcs get http://code.haskell.org/haskell-src-exts
On hackage: http://hackage.haskell.org/package/haskell-src-exts-0.5.7


Changes from 0.5.6:
=

Two small bug fixes:

* Fixed a bug in the parser productions that made SCC pragmas
virtually unusable. Note that this fix includes a change in the AST
for expressions.
* Fixed a bug in the fixity mangler where some subexpressions were left out.

Three new "features":

* The partial 'unParseOk' is removed in favor of the total
'fromParseOk', which throws an error if the parse failed.
* Defined 'glasgowExts' as the set of extensions enabled by GHC's
-fglasgow-exts. You might typically want to use it together with
'parseFileWithExts', to get -fglasgow-exts as a default (since
haskell-src-exts doesn't take OPTIONS_GHC pragmas into account).
* Complete haddock documentation for the whole package.

Please, help me one last time! :-)

Cheers and thanks,

/Niklas
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe