On Thu, Jan 8, 2009 at 5:25 AM, wren ng thornton <[email protected]> wrote:
>
> The question for y'all is what should I call it? I've been calling the
> template-function qaf (for Compiled Applicative Form ;) and the type class
> with that function would be the only thing in the package, but I'm not sure
> where QAF.hs should be in the module hierarchy. Thoughts?
Isn't Lift[1] already the right class for this?
class Lift t where
lift :: t -> Q Exp
[1]
http://haskell.org/ghc/docs/latest/html/libraries/template-haskell/Language-Haskell-TH-Syntax.html#t%3ALift
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe