effekt icon indicating copy to clipboard operation
effekt copied to clipboard

Existential effect members

Open b-studios opened this issue 2 years ago • 1 comments

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

b-studios avatar Apr 15 '22 18:04 b-studios

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
}

phischu avatar May 09 '23 11:05 phischu