-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
#2309 merges TypeArg and TypeParam into one data structure in hugr-core. We should further merge Type into Term.
Related Issues
- The code currently special cases lists of
Types to deal with "row variables". To enable a clean merger, we'd need to get rid of row variables first (see No more row variables #2310). - The capability to define custom
Types would be extended to customTerms that aren't runtime types (which would solve Allow customTypeArgs andTypeParams. #2296). - Merging
Types andTerms would allow runtime types to profit from the sharing enabled by reference counted terms (see feat!: Reference counted terms #2338). Runtime types are the primary source of heavily duplicated terms, so this could have a large performance benefit (especially on model deserialisation).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request