Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- mkNamedAPI :: forall {k} (name :: k) (r0 :: [Effect]) api. (HasServer api '[Domain], ServerEffects (DeclaredErrorEffects api) r0) => ServerT api (Sem (Append (DeclaredErrorEffects api) r0)) -> API (Named name api) r0
- servantSitemap :: API GalleyAPI GalleyEffects
Documentation
mkNamedAPI :: forall {k} (name :: k) (r0 :: [Effect]) api. (HasServer api '[Domain], ServerEffects (DeclaredErrorEffects api) r0) => ServerT api (Sem (Append (DeclaredErrorEffects api) r0)) -> API (Named name api) r0 Source #
Convert a polysemy handler to a named API
value.