HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleservant-auth-server-0.4.9.0Haskell2010

Servant.Auth.Server.Internal.Class

  • 3 classes
classclass IsAuth a v where
#

IsAuth a ctx v indicates that a is an auth type that expects all elements of ctx to be the in the Context and whose authentication check returns an AuthCheck v.

Associated types

Methods

Instances3IsAuth

Helper

4 declarations
classclass AreAuths (as :: [Type]) (ctxs :: [Type]) v where
#

Methods

Instances2AreAuths
familytype family Unapp (ls :: [Type]) res where
#

Equations

familytype family App (ls :: [Type]) res where
#

Equations

  • App '[] res = res
  • App (arg1 ': rest) (arg1 -> res) = App rest res
classclass AppCtx (ctx :: [Type]) (ls :: [Type]) res where
#

AppCtx applies the function res to the arguments in ls by taking the values from the Context provided.

Methods

Instances2AppCtx
  • AppCtx ctx '[] resDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.Class
  • (HasContextEntry ctxs ctx, AppCtx ctxs rest res) => AppCtx ctxs (ctx ': rest) (ctx -> res)Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.Class