[Haskell-cafe] RFC: New version of haskell-src-exts without simplified AST
Matthew Pickering
matthewtpickering at gmail.com
Sun Jul 31 12:07:46 UTC 2016
I'm not sure. I think it was mostly a historical artifact. Originally there
was only the simplified AST, at some point the AST was augmented with
source locations but the simplified tree was not removed for backwards
compatability. Some of the library still operated on the old simpler AST
such as the pretty printer but now everything is ported over.
Matt
On 31 Jul 2016 12:52 p.m., "Tom Ellis" <
tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk> wrote:
> On Wed, Jul 20, 2016 at 02:09:13PM +0100, Matthew Pickering wrote:
> > HSE provides two ASTs, one which has source locations and one which
> > doesn't. I have removed the one which doesn't.
>
> I haven't been following very closely, but can I ask what the use case was
> for the one which did not have source locations? Is it just to avoid
> filling in/ignoring a dummy () parameter when constructing/destructing
> respectively?
> _______________________________________________
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160731/fcce06f9/attachment.html>
More information about the Haskell-Cafe
mailing list