[Haskell-cafe] Staged evaluation, names?

Andrea Vezzosi sanzhiyan at gmail.com
Thu Jan 8 19:13:06 EST 2009


On Thu, Jan 8, 2009 at 5:25 AM, wren ng thornton <wren at freegeek.org> 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


More information about the Haskell-Cafe mailing list