happstack-server 7.4.6.1 → 7.4.6.2
raw patch · 2 files changed
+6/−1 lines, 2 filesdep ~template-haskellPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: template-haskell
API changes (from Hackage documentation)
- Happstack.Server.RqData: instance (GHC.Base.Monoid e, Control.Monad.Trans.Error.Error e) => GHC.Base.Monad (Happstack.Server.RqData.ReaderError r e)
+ Happstack.Server.RqData: instance (Control.Monad.Trans.Error.Error e, GHC.Base.Monoid e) => GHC.Base.Monad (Happstack.Server.RqData.ReaderError r e)
- Happstack.Server.Internal.Types: logMAccess :: FormatTime t => LogAccess t
+ Happstack.Server.Internal.Types: logMAccess :: forall t. FormatTime t => LogAccess t
- Happstack.Server.Types: logMAccess :: FormatTime t => LogAccess t
+ Happstack.Server.Types: logMAccess :: forall t. FormatTime t => LogAccess t
Files
happstack-server.cabal view
@@ -1,5 +1,5 @@ Name: happstack-server-Version: 7.4.6.1+Version: 7.4.6.2 Synopsis: Web related tools and services. Description: Happstack Server provides an HTTP server and a rich set of functions for routing requests, handling query parameters, generating responses, working with cookies, serving files, and more. For in-depth documentation see the Happstack Crash Course <http://happstack.com/docs/crashcourse/index.html> License: BSD3@@ -11,6 +11,7 @@ Build-Type: Simple Cabal-Version: >= 1.8 Extra-Source-Files: tests/Happstack/Server/Tests.hs README.md+tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2, GHC==8.0.1 source-repository head type: git
src/Happstack/Server/Internal/SocketTH.hs view
@@ -20,7 +20,11 @@ in do info <- reify d case info of+#if MIN_VERSION_template_haskell(2,11,0)+ TyConI (DataD _ _ _ _ cs _) ->+#else TyConI (DataD _ _ _ cs _) ->+#endif if any isInet6 cs then [| True |] else [| False |]