Futhark.Analysis.PrimExp.Generalize
Description
Generalization (anti-unification) of PrimExps.
PrimExp
leastGeneralGeneralization :: Eq v => [(PrimExp v, PrimExp v)] -> PrimExp v -> PrimExp v -> (PrimExp (Ext v), [(PrimExp v, PrimExp v)]) Source #
Generalize two PrimExps of the the same type.