SimplexOps
Inherit a selection of the SortedSet methods and add other utility methods
A trait, mixed into object Simplex (Simplex.scala), rather than a top-level extension clause: Scala 3 does not allow same-named top-level extension methods for unrelated receiver types across different files in one package (confirmed empirically, not merely suspected -- see .claude/WORKLOG-cubical.md's "naming collision" section and .claude/WORKLOG-extension-companion-objects.md). Routing through the opaque type's own companion object instead scopes lookup by nominal receiver type, so a future opaque type's extensions can reuse a name like show/underlying without colliding with this one -- confirmed by a standalone scala-cli repro mirroring this exact shape (generic opaque type, non-generic companion, extension body split across two files) before this file was changed, not merely reasoned through.
Attributes
- Experimental
- true
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Simplex