Hacker News new | ask | show | jobs
by kriiuuu 766 days ago
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.