Skip to content

Add advanced generics for functions and methods #90

Description

@itsfuad

Extend named-type applications with generic functions and methods, constraints, defaults, contextual inference, and monomorphization.

Delivered baseline

  • PR Add generic named type instances #97 delivered explicit generic named-type applications and deterministic module-qualified instance identity.
  • Generic structs, enums, interfaces, and transparent aliases are supported.

Remaining scope

  • Generic functions and methods.
  • Constraints and defaults.
  • Contextual generic argument inference.
  • Function/method monomorphization.

Preserve exact explicit named-type arguments as baseline and keep instance identity module-qualified and deterministic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions