talira

constraints

Data types and classes for GHC's ConstraintKinds

open sourceBSD-2-Clausefree

constraints is a Haskell library of data types and classes for manipulating the ConstraintKinds extension GHC has had since version 7.4: a vocabulary for working with constraints.

Problems it solves

  • work with type class constraints as data in Haskell
  • manipulate constraints with ConstraintKinds in GHC
  • store evidence of a type class instance in a Haskell data type

Features

  • data types for manipulating ConstraintKinds
  • classes for working with constraints

Alternatives

The same job

These do what constraints does.

  1. comonad Comonads for Haskell, the categorical dual of monads

Compare constraints with the top 3