[commit: packages/template-haskell] wip/th-new: Add the TExpQ type alias. (07c5778)
git at git.haskell.org
git at git.haskell.org
Mon Sep 23 07:59:18 CEST 2013
Repository : ssh://git@git.haskell.org/template-haskell
On branch : wip/th-new
Link : http://git.haskell.org/packages/template-haskell.git/commitdiff/07c57788b92d34d1390b14e2d053c919e1e059f9
>---------------------------------------------------------------
commit 07c57788b92d34d1390b14e2d053c919e1e059f9
Author: Geoffrey Mainland <mainland at apeiron.net>
Date: Fri May 31 12:42:16 2013 +0100
Add the TExpQ type alias.
>---------------------------------------------------------------
07c57788b92d34d1390b14e2d053c919e1e059f9
Language/Haskell/TH/Lib.hs | 1 +
1 file changed, 1 insertion(+)
diff --git a/Language/Haskell/TH/Lib.hs b/Language/Haskell/TH/Lib.hs
index 94696b8..ab0ae82 100644
--- a/Language/Haskell/TH/Lib.hs
+++ b/Language/Haskell/TH/Lib.hs
@@ -20,6 +20,7 @@ type InfoQ = Q Info
type PatQ = Q Pat
type FieldPatQ = Q FieldPat
type ExpQ = Q Exp
+type TExpQ a = Q (TExp a)
type DecQ = Q Dec
type DecsQ = Q [Dec]
type ConQ = Q Con
More information about the ghc-commits
mailing list