| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Servant.Named.Server
Contents
Description
This module just exports orphan instances to make named-servant work with servers
Orphan instances
| (KnownSymbol sym, FromHttpApiData a, HasServer api context) => HasServer (NamedQueryParam' mods sym a :> api :: Type) context Source # | |
Associated Types type ServerT (NamedQueryParam' mods sym a :> api) m :: Type # Methods route :: Proxy (NamedQueryParam' mods sym a :> api) -> Context context -> Delayed env (Server (NamedQueryParam' mods sym a :> api)) -> Router env # hoistServerWithContext :: Proxy (NamedQueryParam' mods sym a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (NamedQueryParam' mods sym a :> api) m -> ServerT (NamedQueryParam' mods sym a :> api) n # | |
| (KnownSymbol sym, FromHttpApiData a, HasServer api context) => HasServer (NamedQueryParams sym a :> api :: Type) context Source # | |
Associated Types type ServerT (NamedQueryParams sym a :> api) m :: Type # Methods route :: Proxy (NamedQueryParams sym a :> api) -> Context context -> Delayed env (Server (NamedQueryParams sym a :> api)) -> Router env # hoistServerWithContext :: Proxy (NamedQueryParams sym a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (NamedQueryParams sym a :> api) m -> ServerT (NamedQueryParams sym a :> api) n # | |