named-servant-server-0.2.0: server support for named-servant

Safe HaskellNone
LanguageHaskell2010

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 # 
Instance details

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 #