An open API service indexing awesome lists of open source software.

https://github.com/coot/free-algebras

Free Algebras in Haskell
https://github.com/coot/free-algebras

algebra free haskell-library math

Last synced: 11 months ago
JSON representation

Free Algebras in Haskell

Awesome Lists containing this project

README

          

# Free Algebras
[![Maintainer: coot](https://img.shields.io/badge/maintainer-coot-lightgrey.svg?style=for-the-badge)](http://github.com/coot)
[![Haskell CI](https://img.shields.io/github/actions/workflow/status/coot/free-algebras/ci.yaml?branch=master&label=Build&style=for-the-badge)](https://github.com/coot/free-algebras/actions/workflows/ci.yaml)

Universal algebra approach (which is compatible with categorical approach) to
free algebras (including higher order structures like functors, applicative
functors or monads). Mathematical introduction alongside with some of the
Haskell ideas is desribed in a [blog](https://coot.me/posts/free-monads.html)
post.

Examples:
---------

* [TCP as a free monad](https://github.com/coot/free-algebras/blob/master/examples/src/Network/TCP.hs)
* [free categories](https://coot.me/posts/kleisli-categories-and-free-monads.html)
* [free categories with monadic effects](https://coot.me/posts/categories-with-monadic-effects.html)
* [free category package](https://hackage.haskell.org/package/free-category)