Derive Enum on EmptyAPI
This commit is contained in:
parent
021bcd9e23
commit
249a8386a5
1 changed files with 1 additions and 1 deletions
|
@ -9,4 +9,4 @@ import Prelude.Compat
|
|||
-- | 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.
|
||||
data EmptyAPI = EmptyAPI deriving (Typeable, Eq, Show, Bounded)
|
||||
data EmptyAPI = EmptyAPI deriving (Typeable, Eq, Show, Bounded, Enum)
|
||||
|
|
Loading…
Reference in a new issue