An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

data-combinator-gen

This library provides a function to generate a special combinator from any data type (GADTs are not currently supported). This was inspired by the recursion-schemes library where they have a function to automagically generate a base functor. Although, this new base functor data type has custom constructors and to define the *-morphism algebras turns into boring pattern matching. So, this library provides a function called makeCombinator that produces a nice combinator to deal with data types as they were defined in terms of Pairs ( (,) ) and Sums (Either). With this nice combinator we are able to view a data type as its equivalent categorical isomorphism and manipulate it with an interface similar as the either function provided from base.

Ecosystem
hackage.haskell.org
Latest Release
0.1.0.4
almost 7 years ago
Versions
5
Downloads
2,191 total
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter
Filter by Kind
Links
Registry hackage.haskell.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/data-combinator-gen
spec
License MIT
First Release almost 7 years ago
Last Synced 3 days ago
Repository
Stars 10 on GitHub
Forks 0 on GitHub