Maintaining an equivalence relation implemented as union-find using STT. https://github.com/pa-ba/equivalence

Stackage Nightly 2017-07-25:0.3.2
LTS Haskell 9.1:0.3.2
Stackage Nightly 2017-07-25:0.3.2
Latest on Hackage:0.3.2
BSD3 licensed by Patrick Bahr
Maintained by paba@di.ku.dk

Module documentation for 0.3.2

This is an implementation of Tarjan's Union-Find algorithm (Robert E. Tarjan. "Efficiency of a Good But Not Linear Set Union Algorithm", JACM 22(2), 1975) in order to maintain an equivalence relation. This implementation is a port of the union-find package using the ST monad transformer (instead of the IO monad).


* add Applicative constraints for backwards compatibility with GHC 7.8

* use transformers-compat for backwards compatibility with older versions of transformers
* add CHANGES.txt to .cabal file

* add suport for Control.Monad.Except (thus the new dependency constraint 'mtl >= 2.2.1')
comments powered byDisqus