The trivial-constraint package

[Tags:gpl, library]

Since GHC 7.4, constraints are first-class: we have the constraint kind, and thus type-classes have a kind such as * -> Constraint.

These can be used as parameters to data types. They also can be combined quite nicely,

type NewConstraint a = (Constraint1 a, Constraint2 a)

however you always need to start with a plain old type class when building constraints.

This library provides a type class that is not really a constraint at all, so you can start from zero with building up a custom constraint. Also its opposite (a constraint that no type can ever fulfill).


Dependencies base (>=4.5 && <5) [details]
License GPL-3
Author Justus Sagemüller
Stability Unknown
Category Constraints
Home page
Uploaded Sat Jan 23 00:18:44 UTC 2016 by leftaroundabout
Distributions NixOS:
Downloads 665 total (7 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees