Package0.14.4Constraints
constraints
Constraint manipulation
- Version0.14.4
- CategoryConstraints
- LicenceBSD-2-Clause
- AuthorEdward A. Kmett
- MaintainerEdward A. Kmett <ekmett@gmail.com>
- Homepagegithub.com/ekmett/constraints
- Pinned byhackage constraints 0.14.4
- Sourcehackage.haskell.org/package/constraints-0.14.4
Modules
- Data.ConstraintConstraintKinds made type classes into types of a new kind, Constraint. Eq :: * -> Constraint
- Data.Constraint.CharUtilities for working with KnownChar constraints. This module is only available on GHC 9.2 or later.
- Data.Constraint.DeferrableThe idea for this trick comes from Dimitrios Vytiniotis.
- Data.Constraint.ForallThis module uses a trick to provide quantification over constraints.
- Data.Constraint.Lifting
- Data.Constraint.NatUtilities for working with KnownNat constraints. This module is only available on GHC 8.0 or later.
- Data.Constraint.SymbolUtilities for working with KnownSymbol constraints.
- Data.Constraint.UnsafeUnsafe 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
7 packages- base-4.23.0.0with GHC
- binary-0.8.9.3with GHC
- boring-0.2.2.1in this set
- deepseq-1.5.2.0with GHC
- hashable-1.5.1.0in this set
- mtl-2.3.2with GHC
- transformers-0.6.3.0with GHC