RE: New syntax

2006-03-31 Thread Simon Peyton-Jones
|  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
___
Haskell-prime mailing list
Haskell-prime@haskell.org
http://haskell.org/mailman/listinfo/haskell-prime


Re: New syntax

2006-02-22 Thread Wolfgang Jeltsch
Am Dienstag, 21. Februar 2006 22:10 schrieb Ketil Malde:
 [...]

 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.

 [...]

 (Perhaps it would be better to always require whitespace after symbolic
 infix operators?)

Of course, this wouldn't help with the above-mentioned TH-related problem.

 [...]

 -k

-w
___
Haskell-prime mailing list
Haskell-prime@haskell.org
http://haskell.org/mailman/listinfo/haskell-prime