3 ms·
You mean "union type" where you say "sum type". AFAICT Swift does support sum types.
by Veedrac 8y ago
You mean "union type" where you say "sum type". AFAICT Swift does support sum types.
- RX14 8y agoyeah in crystal we call them union types. We don't have sum types so I'm not really certain on the difference. I should have stuck to terminology I know.