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

Hmm my mistake. The match operator in rust is exhaustive though and will raise a compile time error rather than a warning. Elm does this as well. I'm just getting mixed up.

Yeah, I think it's the same for OCaml. I found it funny that Haskell would be the odd one out here.

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