package unionFind

  1. Overview
  2. Docs

Module UnionFind.StoreVectorSource

This module offers an implementation of STORE based on a single mutable extensible array.

Sourcetype 'a store
Sourceval new_store : unit -> 'a store
Sourcetype 'a rref
Sourceval make : 'a store -> 'a -> 'a store * 'a rref
Sourceval get : 'a store -> 'a rref -> 'a store * 'a
Sourceval set : 'a store -> 'a rref -> 'a -> 'a store
Sourceval eq : 'a store -> 'a rref -> 'a rref -> 'a store * bool