[commit: packages/template-haskell] master: Use type synonym (ec8450c)
git at git.haskell.org
git at git.haskell.org
Sat Dec 28 09:46:06 UTC 2013
Repository : ssh://git@git.haskell.org/template-haskell
On branch : master
Link : http://git.haskell.org/packages/template-haskell.git/commitdiff/ec8450c9eefe7fdf33dc62b841e5c52047b73b42
>---------------------------------------------------------------
commit ec8450c9eefe7fdf33dc62b841e5c52047b73b42
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date: Sat Dec 28 09:53:17 2013 +0100
Use type synonym
>---------------------------------------------------------------
ec8450c9eefe7fdf33dc62b841e5c52047b73b42
Language/Haskell/TH/Lib.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Language/Haskell/TH/Lib.hs b/Language/Haskell/TH/Lib.hs
index 0ffa2c0..9b45943 100644
--- a/Language/Haskell/TH/Lib.hs
+++ b/Language/Haskell/TH/Lib.hs
@@ -196,7 +196,7 @@ clause ps r ds = do { ps' <- sequence ps;
-- * Exp
-- | Dynamically binding a variable (unhygenic)
-dyn :: String -> Q Exp
+dyn :: String -> ExpQ
dyn s = return (VarE (mkName s))
global :: Name -> ExpQ
More information about the ghc-commits
mailing list