Formerly Morgan-Stanley/morphir-elm. Search finds this package by either name.
This module contains data structures and functions to make working with the IR easier and more efficient.
Turn a dictionary of package specifications into an IR.
Turn a Distribution into an IR. The Distribution data type is optimized for transfer while the IR data type
is optimized for efficient in-memory processing.
Get all type specifications.
Look up a type specification by fully-qualified name. Dependencies will be included in the search.
Look up a type constructor by fully-qualified name. Dependencies will be included in the search. The function returns a tuple with the following elements:
Look up a value specification by fully-qualified name. Dependencies will be included in the search.
Look up a value definition by fully-qualified name. Dependencies will not be included in the search.
Creates an empty IR with no types or values.
Follow direct aliases until the leaf type is found.
Fully resolve all type aliases in the type.
Replace record constructors with the corresponding record value.
Data structure to store types and values efficiently.