Comment Comment by kriiuuu Scala 3 has opaque types for this. And libraries like iron build on top of it so you can have a very clean way of enforcing such things at compiletime. parent kriiuuu 2 years ago