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

Ah, good to know. So Nim does static analysis on conditionals where Rust would use an explicit pattern match to get at the contained value.

Might be a good example for http://nim-lang.org/manual.html#not-nil-annotation



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

Search: