
19 Feb
2015
19 Feb
'15
3:53 p.m.
On 19 February 2015 at 21:25, Dan Burton
I feel the same about this as I do about idiom brackets. I think QuasiQuotes need more love. They are a little heavier syntactically, but are flexible enough to accomplish the same thing.
Yeah, if quasi quotes were more like Lisp macros that'd make a bunch of these cases easier. It's a general complaint I have with TH, it makes simple rewrites like this too not-worth-it. If I had such macros I would've written an 'idiom' and 'infix' macro ages ago and wouldn't have had to ask for approval from anyone. But true macros seems much harder to slip by Haskellers. $(idiom [|f x y z|]) is too heavy, but idiom f x y z is too implicit.