Skip to content

Implement static trait methods #3132

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.

Activity

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

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