Skip to content

Navigation Menu

Sign in
Sign up

Allow implementing interfaces after type declaration #995

Open

Description

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?

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /