Template Haskell: dataToExpQ and constructor mis-match

Ian Lynagh igloo at earth.li
Wed Feb 8 18:25:46 CET 2012

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 [| ... |], including [], (:), (), and (,).

I've fixed this in the HEAD.


More information about the Libraries mailing list