Instances1Forall
(forall (a :: k). p a) => Forall pDefined in constraints-0.14.2 · Data.Constraint.Forall
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Moduleconstraints-0.14.2Haskell2010
This module uses a trick to provide quantification over constraints.
(forall (a :: k). p a) => Forall pDefined in constraints-0.14.2 · Data.Constraint.ForallInstantiate a quantified Forall p constraint at type a.
A representation of the quantified constraint forall a. p (f a).
Instantiate a quantified ForallF p f constraint at type a.
Instantiate a quantified constraint on kind * -> *.
This is now redundant since inst became polykinded.
A representation of the quantified constraint forall f a. p (t f a).
Instantiate a quantified ForallT p t constraint at types f and a.
A representation of the quantified constraint
forall a1 a2 ... an . p a1 a2 ... an, supporting a variable number of
parameters.
type ForallV = ForallV_Defined in constraints-0.14.2 · Data.Constraint.ForallInstantiate a quantified ForallV p constraint as c, where
c ~ p a1 a2 ... an.