From 42ec7f53e987acbbe4c6ccb519964ee2d3d7aad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C3=ADaz?= Date: Tue, 11 Aug 2015 22:10:12 +0200 Subject: [PATCH] Depend directly on template-haskell. --- yesod-core/Yesod/Core/Internal/TH.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod-core/Yesod/Core/Internal/TH.hs b/yesod-core/Yesod/Core/Internal/TH.hs index 2fc1ea53..22445c51 100644 --- a/yesod-core/Yesod/Core/Internal/TH.hs +++ b/yesod-core/Yesod/Core/Internal/TH.hs @@ -96,7 +96,7 @@ mkYesodGeneral name args isSub resS = do Left t -> ( ConT (mkName t):xs, n:ns, cs ) Right ts -> ( VarT n :xs, ns , fmap (\t -> -#if MIN_VERSION_base(4,8,0) +#if MIN_VERSION_template_haskell(2,10,0) AppT (ConT $ mkName t) (VarT n) #else ClassP (mkName t) [VarT n]