Haskell Type Constraints Unleashed - D. Orchard, T. Schrijvers
The popular Glasgow Haskell Compiler extends the Haskell 98 type system with several powerful features, leading to an expressive language of type terms. In contrast, constraints over types have received much less attention, creating an imbalance in the expressivity of the type system.
In this paper, we rectify the imbalance, transferring familiar type-level constructs, synonyms and families, to the language of constraints, providing a symmetrical set of features at the type-level and constraint-level. We introduce constraint synonyms and constraint families, and illustrate their increased expressivity for improving the utility of polymorphic EDSLs in Haskell.
Recent comments
1 week 5 days ago
1 week 6 days ago
14 weeks 12 min ago
14 weeks 21 hours ago
14 weeks 2 days ago
14 weeks 2 days ago
15 weeks 2 hours ago
15 weeks 3 hours ago
15 weeks 3 hours ago
18 weeks 19 hours ago