Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Servant.API.Status
Synopsis
- class KnownNat n => KnownStatus n where
Documentation
class KnownNat n => KnownStatus n where Source #
Witness that a type-level natural number corresponds to a HTTP status code
servant-0.18: A family of combinators for defining webservices APIs
Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Servant.API.Status
class KnownNat n => KnownStatus n where Source #
Witness that a type-level natural number corresponds to a HTTP status code