Skip to content

Implement static trait methods #3132

Closed
Closed
@msullivan

Description

@msullivan

We should support "static" trait methods that don't require an object to be called on. This is how all typeclass functions behave in languages like haskell, and this enables a lot of useful things, mostly when constructing new objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-grammarArea: The grammar of RustA-type-systemArea: Type system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions