Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.
This repository was archived by the owner on Jun 17, 2022. It is now read-only.

changing syntax of member functions #154

@aep

Description

@aep

i'm going to change the syntax of member functions.

they're currently associated by being in the same module, but i think the way golang does it is simpler.

current style:

struct Foo {}

fn foo(Foo *self, int bla) {}

new style:

struct Foo {}

fn(Foo *self) foo (int bla) {}

this might also fix #123

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