Hacker News new | past | comments | ask | show | jobs | submit login

Is there an actual issue that you have with sum types?



I think (at least from my perspective) the issue here is that sum types are not first class citizens supported by the compiler, for example non-exhaustive matching in Rust would result in a compile time error. Implementations like this are a mere approximation - and takes a while to grep exactly what is going on (at least for me).




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

Search: