@hackage constraint-tuples0.1
Partially applicable constraint tuples
Categories
License
BSD-3-Clause
Maintainer
ryan.gl.scott@gmail.com
Links
Versions
constraint-tuples
This library provides classes that emulate the behavior of GHC's constraint tuple syntax. Unlike GHC's built-in constraint tuples, the classes in this library can be partially applied.
This library exposes two different modules that are semantically identical, but compile to slightly different Core:
Data.Tuple.Constraint: ACTupleNclass compiles to a dictionary data type withNfields.Data.Tuple.Constraint.ClassNewtype: ACTupleNclass compiles to a newtype around the corresponding built-in constraint tuple type withNarguments.