[Haskell-cafe] RFC: New version of haskell-src-exts without simplified AST

Matthew Pickering matthewtpickering at gmail.com
Sat Jul 23 13:10:57 UTC 2016

Yes, I ported the pretty printer to work with the annotated tree but
ignore the annotations.


On Sat, Jul 23, 2016 at 2:57 PM, Adam Bergmark <adam at bergmark.nl> wrote:
> This sounds good to me, it is pretty awkward to have both representations,
> especially since they have diverged. It will also help the overlong compile
> time.
> One question: Will you still be able pretty print if you remove the
> annotations?
> - Adam
> On Wed, Jul 20, 2016 at 3:09 PM, Matthew Pickering
> <matthewtpickering at gmail.com> wrote:
>> Dear all,
>> For several months I have had a branch of haskell-src-exts which has
>> been updated for all the new features in GHC 8.
>> However, I have not yet released the changes as in this version I also
>> removed the simplified AST. To those unfamiliar, HSE provides two
>> ASTs, one which has source locations and one which doesn't. I have
>> removed the one which doesn't.
>> This simplifies maintenance and I think also makes the library easier to
>> use.
>> I have held back releasing this version as there are some people who
>> use the simplified AST. The changes necessary for the new version are
>> mechanical and easy to make. For example, David Fox updated
>> haskell-names to use my branch [1] with few problems.
>> The question is, are there any users of the library who object to this
>> change?
>> Matt
>> [1]: https://github.com/haskell-suite/haskell-names/pull/73
>> _______________________________________________
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>> Only members subscribed via the mailman list are allowed to post.

More information about the Haskell-Cafe mailing list