Quasi quoting

Tyson Whitehead twhitehead at gmail.com
Wed Feb 3 09:20:33 EST 2010


On February 2, 2010 19:48:27 Max Bolingbroke wrote:
> It's a shame that TH is too widely used to be amenable to refactoring
> into this sort of form.

I thought the standard thing to do in this case was to add either a pragma 
that gives you the new behaviour or trigger it with an alternative syntax 
(such as the aforementioned  (|...|)).

Throw in a warning whenever the old is used, and then, after a couple of 
years/releases, you can depreciate support for it guilt free.  : )

Cheers!  -Tyson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100203/9f1ee2c7/attachment.bin


More information about the Glasgow-haskell-users mailing list