Re: Add haskell-src as an official machine-readable component of the Haskell standard

2010-11-20 Thread Ben Millwood
On Tue, Nov 16, 2010 at 9:13 AM, Yitzchak Gale g...@sefer.org wrote: I propose that the haskell-src package be renamed haskell20nn-src for each revision Haskell 20nn of the standard, and be made an official machine-readable component of the standard. As much as I like the idea of

Re: Add haskell-src as an official machine-readable component of the Haskell standard

2010-11-18 Thread Neil Mitchell
There is nothing to stop an library author doing exactly this, and it might even be useful for some people (personally I'm going to stick to haskell-src-exts, because it's a brilliant library). However, I don't think we should make it official or part of the standard. I've found plenty of HSE/GHC

Re: Add haskell-src as an official machine-readable component of the Haskell standard

2010-11-18 Thread Yitzchak Gale
Ben Millwood wrote: So we don't actually specify the content or API of the library itself, merely state its existence? If we specify the API we make those decisions, if we don't I don't see what exactly you are asking for... So why are you proposing that it be different from a Hackage package

Re: Add haskell-src as an official machine-readable component of the Haskell standard

2010-11-18 Thread Yitzchak Gale
Hi Neil, Neil Mitchell wrote: There is nothing to stop an library author doing exactly this, and it might even be useful for some people (personally I'm going to stick to haskell-src-exts, because it's a brilliant library). Yes, it is. I am not proposing changing in any way how we develop

Add haskell-src as an official machine-readable component of the Haskell standard

2010-11-17 Thread Yitzchak Gale
Ben Millwood wrote: But if we make the official parser usable for AST manipulation, we have to rule on the design issues I raised above: whether to make efforts to stop invalid lambdas being constructed, how to name the types and constructors, etc. No we don't. With regard to its inclusion as

Add haskell-src as an official machine-readable component of the Haskell standard

2010-11-16 Thread Yitzchak Gale
I propose that the haskell-src package be renamed haskell20nn-src for each revision Haskell 20nn of the standard, and be made an official machine-readable component of the standard. This has the following advantages: 1. It would require almost no extra work, because haskell-src already exists,

Re: Add haskell-src as an official machine-readable component of the Haskell standard

2010-11-16 Thread Ben Millwood
On Tue, Nov 16, 2010 at 7:51 PM, Lennart Augustsson lenn...@augustsson.net wrote: Please explain.  Fixity information cannot be provided unless you find all the imported modules and process those, so I'm not sure how haskell-src-exts could do any better than it currently does. The tickets I

RE: Add haskell-src as an official machine-readable component of the Haskell standard

2010-11-16 Thread Simon Peyton-Jones
See http://hackage.haskell.org/trac/ghc/ticket/4430 for what we are proposing for Template Haskell. S | -Original Message- | From: haskell-prime-boun...@haskell.org [mailto:haskell-prime-boun...@haskell.org] On | Behalf Of Lennart Augustsson | Sent: 16 November 2010 19:52 | To: Ben