
| > Template Haskell breaks expressions with $, | | It's very bad that with TH enabled you cannot write sections of the form ($ x) | anymore which are sometimes very handy. I'd prefer it if TH only sprang into action when you wrote $x or $(f x) That is, no space after the $. If you put spaces, you should get the H98 $. If anyone feels like fixing this, I think it'd be a good thing to do. S

On Fri, Mar 31, 2006 at 01:26:52PM +0100, Simon Peyton-Jones wrote:
| > Template Haskell breaks expressions with $, | | It's very bad that with TH enabled you cannot write sections of the form ($ x) | anymore which are sometimes very handy.
I'd prefer it if TH only sprang into action when you wrote $x or $(f x)
That is, no space after the $. If you put spaces, you should get the H98 $.
Isn't that the current behaviour? Thanks Ian
participants (2)
-
Ian Lynagh
-
Simon Peyton-Jones