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

I mean, that's a pretty common usage of enums, isn't it?

    TestSomething(T1 & T2)



And this is the big, probably irreconcilable, difference in culture between the sum-typers and the compiler-assisted-named-valuers....




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: