Use GHC.TypeLits rather than TypeNats
This commit is contained in:
parent
6889d053c7
commit
ff9da1cde4
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
module Servant.API.Status where
|
||||
|
||||
import Network.HTTP.Types.Status
|
||||
import GHC.TypeNats
|
||||
import GHC.TypeLits
|
||||
|
||||
-- | Witness that a type-level natural number corresponds to a HTTP status code
|
||||
class KnownNat n => KnownStatus n where
|
||||
|
|
Loading…
Reference in a new issue