Y
Hacker News
new
|
ask
|
show
|
jobs
by
masklinn
2190 days ago
Yes but then you need neither sum types nor user-defined generics, you can just build-in whatever sugar is useful or necessary (possibly repurposing existing sugar e.g. the `select` statement).
1 comments
ccktlmazeltov
2189 days ago
sum types are still super useful imo without generics.
link