free-category: Free category

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Free categories

[Skip to Readme]


Change log
Dependencies base (>=4.9 && <5), free-algebras (>= [details]
License MPL-2.0
Copyright (c) 2018 Marcin Szamotulski
Author Marcin Szamotulski
Category Algebra, Control, Monads, Category
Home page
Bug tracker
Source repo head: git clone
Uploaded by coot at 2018-11-03T16:54:27Z


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Readme for free-category-

[back to package description]

Free Category

Maintainer: coot Travis Build Status

This package introduces variouos encodings of free categories in Haskell.

Free categories are useful to model state machines in a simple yet type safe way and for that purpose Kleisli categroies are a very useful target which allows to include monadic computations. Read more here on a simple example of a finite state machine encoded using a free category using a simple GADT. Another simple example.