1
1
mirror of https://github.com/coot/free-category.git synced 2024-11-29 23:07:40 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Marcin Szamotulski
6e82ad08ca Updated nix/free-algebras.nix 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
15f8c5b0dd Build with ghc881 2019-10-06 19:25:09 +01:00
Marcin Szamotulski
20d61b2355
Efficient representation of a free category (#5)
* Efficient representation of free category

Using type aligned real time queues (Okasaki, 'Purely Functional Data
Structures') to represent catanable type allign lists (free categories).

Composition is O(1) and right fold is O(n), where n is number of
transitions.

* Bump version to 0.0.3

Make it compile on ghc802.

* Updated CI configuration
2019-08-31 08:12:21 +00:00
Marcin Szamotulski
3159b1216e
nix: ghc802 build
Fix nixpkgs depending on ghc version.
2018-12-16 23:12:15 +01:00
Marcin Szamotulski
20fdc8d189
Updated nix (ghc-8.6.2) 2018-12-16 23:12:15 +01:00
Marcin Szamotulski
62d0bbe4fe
Lifting (#2)
* Initial LoginStateMachine implementation

* Nicer interface

* Lifting instance for (->) and Identity, liftKleisli function

* Added Control.Category.Lifting to free-algebras

* Reoder Lifting module

* Fixed haddoc documentation

* examples.cabal - base version

* reconfigure circle-ci

* Fixed error in GHC-8.6.1
2018-12-10 19:59:39 +01:00
Marcin Szamotulski
d1c5c3ef80
Fixed typo in nix/nixpkgs.nix file 2018-11-11 13:15:03 +01:00
Marcin Szamotulski
adbb6c3550
Initial version 2018-11-03 17:52:30 +01:00
Marcin Szamotulski
f72b2e503f Updated free-algebras dependency 2018-10-27 12:26:44 +00:00
Marcin Szamotulski
5b2cc8e2b6
Build with ghc802 2018-10-22 23:46:22 +02:00
Marcin Szamotulski
3c1aec4bca
nix scripts 2018-10-22 00:09:31 +02:00