Hacker News new | ask | show | jobs
by paulddraper 2997 days ago
See the Option/Maybe pattern, which uses sum types rather than unions or sentinel values.

https://www.lucidchart.com/techblog/2015/08/31/the-worst-mis...