Skip to content

Add UFCS #9

@cgccuser

Description

@cgccuser

Nim has this really cool thing called UFCS that works something like this: foo(bar, baz) = bar.foo(baz) and foo.bar = bar(foo). I propose that if you can't find a function foo to call on bar, you look for a method called foo inside bar, and vice versa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions