constraint-tuples: Partially applicable constraint tuples

[ bsd3, data, library ] [ Propose Tags ]

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:


[Skip to Readme]
Versions [faq] 0.1, 0.1.1
Change log CHANGELOG.md
Dependencies base (>=4.6 && <5) [details]
License BSD-3-Clause
Copyright (C) 2018-2019 Ryan Scott
Author Ryan Scott
Maintainer ryan.gl.scott@gmail.com
Category Data
Home page https://github.com/RyanGlScott/constraint-tuples
Bug tracker https://github.com/RyanGlScott/constraint-tuples/issues
Source repo head: git clone https://github.com/RyanGlScott/constraint-tuples
Uploaded by ryanglscott at Mon Oct 21 13:35:04 UTC 2019
Distributions NixOS:0.1.1
Downloads 91 total (91 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-10-21 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for constraint-tuples-0.1.1

[back to package description]

constraint-tuples

Hackage Hackage Dependencies Haskell Programming Language BSD3 License Build

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: A CTupleN class compiles to a dictionary data type with N fields.
  • Data.Tuple.Constraint.ClassNewtype: A CTupleN class compiles to a newtype around the corresponding built-in constraint tuple type with N arguments.