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

it's basically `union <name>([<type>],*)`, i.e.

=> named sum type implicitly tagged by it's variant types

but not "sealed", as in no artificial constraints like that the variant types need to be defined in the "same place" or "as variant type", they can be arbitrary nameable types

 help



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

Search: