Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
>>>
:set -XDataKinds
>>>
:set -XFlexibleContexts
>>>
:set -XGADTs
>>>
:set -XRankNTypes
>>>
:set -XScopedTypeVariables
>>>
import GHC.TypeLits
>>>
import Data.List
type family EveryTF cs x :: Constraint where ... Source #
class EveryTF cs x => Every (cs :: [* -> Constraint]) (x :: *) Source #
Apply multiple constraint constructors to a type as a class.
This is different from
in that it allows partial application.EveryTF
Instances
Every ([] :: [* -> Constraint]) x Source # | |
Defined in Servant.Swagger.Internal.TypeLevel.Every | |
(c x, Every cs x) => Every (c ': cs) x Source # | |
Defined in Servant.Swagger.Internal.TypeLevel.Every |