Copyright | (c) Sebastian Graf 2017-2020 |
---|---|
License | ISC |
Maintainer | [email protected] |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Datafix.Utils.Constraints
Description
Universally quantified constraints, until we have -XQuantifiedConstraints.
Documentation
(\\) :: a => (b => r) -> (a :- b) -> r infixl 1 Source #
Given that a :- b
, derive something that needs a context b
, using the context a
type family Forall (p :: k -> Constraint) :: Constraint Source #
A representation of the quantified constraint forall a. p a
.
Instances
type Forall (p :: k -> Constraint) Source # | |
Defined in Datafix.Utils.Constraints |