free-category: Free category

[ algebra, category, category-theory, control, library, monads, mpl ] [ Propose Tags ]
This version is deprecated.

Free categories


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.1.0, 0.0.2.0, 0.0.3.0, 0.0.4.0, 0.0.4.1, 0.0.4.2, 0.0.4.3, 0.0.4.4, 0.0.4.5 (info)
Change log ChangeLog.md
Dependencies base (>=4.9 && <5), free-algebras (>=0.0.7.0) [details]
License MPL-2.0
Copyright (c) 2018-2019 Marcin Szamotulski
Author Marcin Szamotulski
Maintainer profunctor@pm.me
Category Algebra, Control, Monads, Category
Home page https://github.com/coot/free-category#readme
Bug tracker https://github.com/coot/free-category/issues
Source repo head: git clone https://github.com/coot/free-category
Uploaded by coot at 2019-08-31T10:42:40Z
Distributions NixOS:0.0.4.5
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2738 total (39 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-08-31 [all 1 reports]

Readme for free-category-0.0.3.0

[back to package description]

Free Category

Maintainer: coot CircleCI

This package contains efficient free categories. There are two presentations:

  • using realtime queues (C. Okasaki 'Pure Functional Data Structures')
  • using continuation passing style

Free arrows and free Kleisli categories are also included.

Free categories are useful to model state machines in a simple yet type safe manner. For that purpose Kleisli categroies are a very useful target which allows to include monadic computations. This packge contains a useful generalisation of Kliesli categories captured by EffCategory class (effectful categories), and a (free) transformer which lifts a category to an effectful one.

Some examples