RE: group keyword with TransformListComp

2009-06-30 Thread Simon Peyton-Jones
group keyword with TransformListComp | | Hi, | | The question of syntax is always something that provokes intense | discussion. My interest (and concern) with the choice of syntax in | this case is three-fold: | | 1) I want HLint to turn on as many Haskell extensions as possible when | parsing, wit

Re: group keyword with TransformListComp

2009-06-29 Thread Neil Mitchell
Hi, The question of syntax is always something that provokes intense discussion. My interest (and concern) with the choice of syntax in this case is three-fold: 1) I want HLint to turn on as many Haskell extensions as possible when parsing, with the trade off that they don't break a massive numbe

Re: group keyword with TransformListComp

2009-06-27 Thread Max Bolingbroke
Hi, I agree this is annoying. It was hard to find syntax which was both meaningful and currently unused, so we settled on this instead. As Simon says, suggestions are welcome! Note that group *should* be parsed as a special id, so you can still import D.L qualified and then use dot notation to ac

RE: group keyword with TransformListComp

2009-06-23 Thread Simon Peyton-Jones
I don't mind what keyword (or indeed syntax) we use! Better alternatives welcome. Simon | -Original Message- | From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell-users- | boun...@haskell.org] On Behalf Of Neil Mitchell | Sent: 21 June 2009 19:15 | To: glasgow-haskel

Re: group keyword with TransformListComp

2009-06-21 Thread Don Stewart
Don't use TransformListComp ?? -- Don ndmitchell: > Hi, > > The TransformListComp extension makes group a keyword. Unfortunately > group is a useful function, and is even in Data.List. Thus, > Data.List.group and TransformListComp are incompatible. This seems a > very painful concession to give