I’m not sure if this question belongs in this forum or in users.scal-lang.org, so I apologise in advance if this is posted in the wrong place. My question regards the new typeclass syntax introduced with the experimental.modularity feature set.
I want to define a typeclass Lattice { type Self }, which ought to extend the already existing PartialOrdering[T] typeclass. I’m really enjoying the new Self member type syntax, and am using it throughout my project. Is there anyway I can define Lattice using the new syntax, and still extend PartialOrdering[T]? Something akin to trait Lattice extends PartialOrdering[this.Self]?