Skip to content

Allow implementing interfaces after type declaration #995

@alexnask

Description

@alexnask

Proposed syntax:

Fooable: interface <T> {
    foo: func -> T
}

// Perhaps 'extend Cell<T> implements Fooable<T>'
extend Cell<T> as Fooable<T> {
    foo: func -> T {
        val
    }
}

@fasterthanlime
Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions