yesod/yesod-core/Yesod
Erik de Castro Lopo 226c381baa yesod-core: Make it work with ghc-8.0
Use CPP hackery to make it compile with ghc-8.0 and ghc 7.10. If
ghc-7.10 works, I assume earlier supported versions of GHC also
work. All tests pass with both GHC versions.

Unfortunately, the TH changes force changes in the type signature
of Yesod.Routes.TH.RenderRoute.mkRouteCons from:

    mkRouteCons :: [ResourceTree Type] -> ([Con], [Dec])

to

    mkRouteCons :: [ResourceTree Type] -> Q ([Con], [Dec])

and I can't see a way around that.
2016-04-19 14:52:03 +10:00
..
Core yesod-core: Make it work with ghc-8.0 2016-04-19 14:52:03 +10:00
Routes yesod-core: Make it work with ghc-8.0 2016-04-19 14:52:03 +10:00
Core.hs getApprootText 2015-12-04 14:40:50 +02:00