equiv? ( a b disjoint-set -- ? )
Factor handbook » The language » Collections » Disjoint sets

Prev:assoc>disjoint-set ( assoc -- disjoint-set )
Next:equiv-set-size ( a disjoint-set -- n )


Vocabulary
disjoint-sets

Inputs
aan object
ban object
disjoint-seta disjoint-set


Outputs
?a boolean


Word description
Tests if two elements belong to the same equivalence class.

Definition

GENERIC: equiv? ( a b disjoint-set -- ? )


Methods