Module FlatCurry.Normalize

Author
Michael Hanus
Version
May 2021

This module contains operations to transform FlatCurry entities into some normalized form so that they can be easier compared for equivalence.

For instance, a type expression is normalize by replacing type variable indices into a uniquely enumerated form.

Exported Functions:

Exported Functions


normalizeTypeExpr :: TypeExpr -> TypeExpr  Deterministic 

Normalize a type expression by enumerating the type variables starting from 0.