Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You mean "union type" where you say "sum type". AFAICT Swift does support sum types.


yeah 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: