On Tue, Jan 24, 2012 at 09:55:35AM -0800, Conal Elliott wrote:
> I'm looking for a reliable way to turn values into Template Haskell
> expressions. I thought dataToExpQ from Language.Haskell.TH.Quote was the
> ticket, but it appears to produce constructors different from those
> produced by [| ...
I'm looking for a reliable way to turn values into Template Haskell
expressions. I thought dataToExpQ from Language.Haskell.TH.Quote was the
ticket, but it appears to produce constructors different from those
produced by [| ... |], including [], (:), (), and (,). Here's an example
run for (). I'm u