Package0.14.2Constraints
constraints
Constraint manipulation
- Version0.14.2
- CategoryConstraints
- LicenceBSD-2-Clause
- AuthorEdward A. Kmett
- MaintainerEdward A. Kmett <ekmett@gmail.com>
- Homepagegithub.com/ekmett/constraints
- Pinned byhackage constraints 0.14.2
- Sourcehackage.haskell.org/package/constraints-0.14.2
Modules
8 modules- Data.Constraint26ConstraintKinds made type classes into types of a new kind, Constraint. Eq :: * -> Constraint
- Data.Constraint.Char4Utilities for working with KnownChar constraints. This module is only available on GHC 9.2 or later.
- Data.Constraint.Deferrable6The idea for this trick comes from Dimitrios Vytiniotis.
- Data.Constraint.Forall11This module uses a trick to provide quantification over constraints.
- Data.Constraint.Lifting2
- Data.Constraint.Nat100Utilities for working with KnownNat constraints. This module is only available on GHC 8.0 or later.
- Data.Constraint.Symbol23Utilities for working with KnownSymbol constraints.
- Data.Constraint.Unsafe8Unsafe utilities used throughout constraints. As the names suggest, these
Description
GHC 7.4 gave us the ability to talk about ConstraintKinds. They stopped crashing the compiler in GHC 7.6.
This package provides a vocabulary for working with them.
Depends on
8 packages- base-4.20.2.0with GHC
- binary-0.8.9.3with GHC
- boring-0.2.2in this set
- deepseq-1.5.0.0with GHC
- ghc-prim-0.12.0with GHC
- hashable-1.4.7.0in this set
- mtl-2.3.1with GHC
- transformers-0.6.1.1with GHC