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