Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existential effect members #68

Open
b-studios opened this issue Apr 15, 2022 · 1 comment
Open

Existential effect members #68

b-studios opened this issue Apr 15, 2022 · 1 comment
Labels
feature New feature or request

Comments

@b-studios
Copy link
Collaborator

It would be great, if we could have existential type and effect members on interfaces.

@b-studios b-studios added the feature New feature or request label Apr 15, 2022
@phischu phischu mentioned this issue May 9, 2023
@phischu
Copy link
Collaborator

phischu commented May 9, 2023

Consider

interface Num {
  type R
  def add(x: R, y: R): R
}

What is the actual difference to

interface Num[R] {
  def add(x: R, y: R): R
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants