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

free

Free monads are useful for many tree-like structures and domain specific languages. If f is a Functor then the free Monad on f is the type of trees whose nodes are labeled with the constructors of f. The word "free" is used in the sense of "unrestricted" rather than "zero-cost": Free f makes no constraining assumptions beyond those given by f and the definition of Monad. As used here it is a standard term from the mathematical theory of adjoint functors. Cofree comonads are dual to free monads. They provide convenient ways to talk about branching streams and rose-trees, and can be used to annotate syntax trees. The cofree comonad can be seen as a stream parameterized by a Functor that controls its branching factor. More information on free monads, including examples, can be found in the following blog posts: https://ekmett.github.io/reader/2008/monads-for-free/ https://ekmett.github.io/reader/2011/free-monads-for-less/

Ecosystem
hackage.haskell.org
Latest Release
5.1.10
over 3 years ago
Versions
64
Downloads
263,500 total
Dependent Packages
57
Dependent Repos
542
Links
Registry hackage.haskell.org
Source Repository
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/free
spec
License BSD-3-Clause
First Release about 15 years ago
Last Synced 25 days ago
Repository
Stars 161 on GitHub
Forks 65 on GitHub
Docker Dependents 1
Docker Downloads 35
Commits 519
Committers 63
Avg per Author 8.238
DDS 0.674
Rankings on hackage.haskell.org
Overall Top 2.3%
Downloads Top 0.4%
Dependent packages Top 0.6%
Dependent repos Top 0.8%
Forks Top 5.2%
Docker downloads Top 0.2%