Skip to content

Specificity ordering for global context #2017

@andrew4328

Description

@andrew4328

An idea from Claude. Instead of checking subsumption on each function call site, it may be possible to sort the global context and just match the first unification. This is algorithmically complicated, because what are you supposed to do about disjoint unifications? You would need to be able to reliably identify those before the concrete argument types are visible.

Related: #1955 Prevent half-specialization

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions