Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
This module exports orphan instances to make
servant-queryparam-core
work with servers.
Orphan instances
(Generic a, GHasServer mod (Rep a) context api) => HasServer (RecordParam mod a :> api :: Type) context Source # | |
type ServerT (RecordParam mod a :> api) m # route :: Proxy (RecordParam mod a :> api) -> Context context -> Delayed env (Server (RecordParam mod a :> api)) -> Router env # hoistServerWithContext :: Proxy (RecordParam mod a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (RecordParam mod a :> api) m -> ServerT (RecordParam mod a :> api) n # |