servant-0.14.1: A family of combinators for defining webservices APIs

Safe HaskellSafe
LanguageHaskell2010

Servant.API.Empty

Synopsis

Documentation

data EmptyAPI #

An empty API: one which serves nothing. Morally speaking, this should be the unit of :<|>. Implementors of interpretations of API types should treat EmptyAPI as close to the unit as possible.

Constructors

EmptyAPI 
Instances
Bounded EmptyAPI # 
Instance details

Defined in Servant.API.Empty

Enum EmptyAPI # 
Instance details

Defined in Servant.API.Empty

Eq EmptyAPI # 
Instance details

Defined in Servant.API.Empty

Show EmptyAPI # 
Instance details

Defined in Servant.API.Empty

HasLink EmptyAPI # 
Instance details

Defined in Servant.Links

Associated Types

type MkLink EmptyAPI a :: * #

Methods

toLink :: (Link -> a) -> Proxy EmptyAPI -> Link -> MkLink EmptyAPI a #

type MkLink EmptyAPI a # 
Instance details

Defined in Servant.Links