Skip to content

Commit

Permalink
Use TH version CPP token instead of GHC version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuuzetsu committed Mar 25, 2014
1 parent 83c0cae commit 92078b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Control/Monad/Free/TH.hs
Expand Up @@ -158,7 +158,7 @@ liftCon' f n ns cn ts = do
qa = case retType of VarT b | a == b -> [a]; _ -> []
f' = foldl AppT f (map VarT ns)
return
#if __GLASGOW_HASKELL__ >= 709
#if MIN_VERSION_template_haskell(2,10,0)
[ SigD opName (ForallT q [ConT monadFree `AppT` f' `AppT` VarT m] opType)
#else
[ SigD opName (ForallT q [ClassP monadFree [f', VarT m]] opType)
Expand Down

0 comments on commit 92078b0

Please sign in to comment.