servant-server: renaming of type variable

This commit is contained in:
Sönke Hahn 2016-01-18 22:14:11 +01:00
parent e726db9fe7
commit 2445855203

View file

@ -72,7 +72,7 @@ class HasServer layout where
type ServerT layout (m :: * -> *) :: *
type HasConfig layout (c :: [*]) :: Constraint
route :: HasConfig layout a => Proxy layout -> Config a -> Delayed (Server layout) -> Router
route :: HasConfig layout config => Proxy layout -> Config config -> Delayed (Server layout) -> Router
type Server layout = ServerT layout (ExceptT ServantErr IO)