Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Servant.API.Empty
Documentation
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 # | |
Defined in Servant.API.Empty | |
Enum EmptyAPI # | |
Defined in Servant.API.Empty | |
Show EmptyAPI # | |
Eq EmptyAPI # | |
HasLink EmptyAPI # | |
type MkLink EmptyAPI a # | |
Defined in Servant.Links |