On Wednesday 18 June 2003 01:04 am, Simon Peyton-Jones wrote:

> Better syntax here would be welcome if anyone can think of some.

Why not add a '|' after the initial '[':

        [|t|  ...  |]
and
        [|p| ... |]

It may be a little more heavyweight but it is symmetrical (and probably makes 
parsing easier too).

I haven't played with Template Haskell at all, so I don't know if '[|' is 
already a distinguished token.

Cheers,

Andy

-- 
Andy Moran                                              Ph.  (503) 526 3472
Galois Connections Inc.                                 Fax. (503) 350 0833
3875 SW Hall Blvd.                                    http://www.galois.com
Beaverton, OR 97005                                        [EMAIL PROTECTED]

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to