Skip to content

Static functions as type arguments #2301

@zrho

Description

@zrho

i.e. whose kind is a monomorphic function type, and the arguments are instantiations of functions in the Hugr. (static instantiations, but perhaps passing other static function arguments).

These can be targets of Call nodes (not IndirectCall - they do not depend on runtime values) - hence are turned into direct calls to FuncDefns/FuncDecls by monomorphization.

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