servant-0.20: A family of combinators for defining webservices APIs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Servant.API.WithResource

Documentation

data WithResource res Source #

Instances

Instances details
HasLink sub => HasLink (WithResource res :> sub :: Type) Source # 
Instance details

Defined in Servant.Links

Associated Types

type MkLink (WithResource res :> sub) a Source #

Methods

toLink :: (Link -> a) -> Proxy (WithResource res :> sub) -> Link -> MkLink (WithResource res :> sub) a Source #

type MkLink (WithResource res :> sub :: Type) a Source # 
Instance details

Defined in Servant.Links

type MkLink (WithResource res :> sub :: Type) a = MkLink sub a