Top-1.7: Constraint solving framework employed by the Helium Compiler.

Safe HaskellSafe-Infered

Top.Implementation.TypeGraph.EquivalenceGroup

Description

An equivalence group is a graph-like structure containing type variables and type constants that should all be equivalent. The edges explain why they should be equal.

Synopsis

Documentation

data EquivalenceGroup info Source

Instances

vertices :: EquivalenceGroup info -> [(VertexId, VertexInfo)]Source

vertices in this equivalence group

edges :: EquivalenceGroup info -> [(EdgeId, info)]Source

(initial) edges in this equivalence group