Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data NamedRoutes (api :: * -> *)
NamedRoutes combinator
data NamedRoutes (api :: * -> *) Source #
Combinator for embedding a record of named routes into a Servant API type.
Instances
( HasLink ( ToServantApi routes), forall a. GLink routes a) => HasLink ( NamedRoutes routes :: Type ) Source # | |
Defined in Servant.Links type MkLink ( NamedRoutes routes) a Source # toLink :: ( Link -> a) -> Proxy ( NamedRoutes routes) -> Link -> MkLink ( NamedRoutes routes) a Source # |
|
type MkLink ( NamedRoutes routes :: Type ) a Source # | |
Defined in Servant.Links |