Y
Hacker News
new
|
ask
|
show
|
jobs
by
gavinray
114 days ago
This is not "true" ad-hoc union support like TS or Scala
This is essentially "sealed interface" from Java/Kotlin or "enum" in Rust