quickspec-0.9.6: Equational laws for free!
Test.QuickSpec.Reasoning.UnionFind
Description
A union-find data structure.
type UF = State SSource
data Replacement Source
Constructors
newSym :: UF IntSource
(=:=) :: Int -> Int -> UF (Maybe Replacement)Source
rep :: Int -> UF IntSource
evalUF :: S -> UF a -> aSource
execUF :: S -> UF a -> SSource
runUF :: S -> UF a -> (a, S)Source
data S Source
isRep :: Int -> UF BoolSource
initial :: Int -> SSource