Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Module for the definition of EClass
.
Synopsis
- data EClass l = EClass {
- eClassId :: !ClassId
- eClassNodes :: !(Set (ENode l))
- eClassData :: Domain l
- eClassParents :: !(NodeMap l ClassId)
- module Data.Equality.Graph.Classes.Id
Documentation
An e-class (an equivalence class of terms) of a language l
.
Intuitively, an e-graph is a set of equivalence classes (e-classes). Each e-class is a set of e-nodes representing equivalent terms from a given language, and an e-node is a function symbol paired with a list of children e-classes.
EClass | |
|