diff --git a/servant-server/src/Servant/Server/Internal.hs b/servant-server/src/Servant/Server/Internal.hs index f502ea9a..a5ab7200 100644 --- a/servant-server/src/Servant/Server/Internal.hs +++ b/servant-server/src/Servant/Server/Internal.hs @@ -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)