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