[commit: template-haskell] th-new: Add the TExpQ type alias. (b5d7bb8)
Geoffrey Mainland
gmainlan at microsoft.com
Fri May 31 14:10:32 CEST 2013
Repository : ssh://darcs.haskell.org//srv/darcs/packages/template-haskell
On branch : th-new
http://hackage.haskell.org/trac/ghc/changeset/b5d7bb8038cc28b2256a36b6b586e338bea9e42a
>---------------------------------------------------------------
commit b5d7bb8038cc28b2256a36b6b586e338bea9e42a
Author: Geoffrey Mainland <mainland at apeiron.net>
Date: Fri May 31 12:42:16 2013 +0100
Add the TExpQ type alias.
>---------------------------------------------------------------
Language/Haskell/TH/Lib.hs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Language/Haskell/TH/Lib.hs b/Language/Haskell/TH/Lib.hs
index 71adf66..d7e6fc3 100644
--- a/Language/Haskell/TH/Lib.hs
+++ b/Language/Haskell/TH/Lib.hs
@@ -19,6 +19,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