Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.
Instances
Bounded EmptyAPI Source # | |
Enum EmptyAPI Source # | |
Defined in Servant.API.Empty succ :: EmptyAPI -> EmptyAPI Source # pred :: EmptyAPI -> EmptyAPI Source # toEnum :: Int -> EmptyAPI Source # fromEnum :: EmptyAPI -> Int Source # enumFrom :: EmptyAPI -> [ EmptyAPI ] Source # enumFromThen :: EmptyAPI -> EmptyAPI -> [ EmptyAPI ] Source # enumFromTo :: EmptyAPI -> EmptyAPI -> [ EmptyAPI ] Source # enumFromThenTo :: EmptyAPI -> EmptyAPI -> EmptyAPI -> [ EmptyAPI ] Source # |
|
Eq EmptyAPI Source # | |
Show EmptyAPI Source # | |
HasLink EmptyAPI Source # | |
type MkLink EmptyAPI a Source # | |
Defined in Servant.Links |