Y
Hacker News
new
|
ask
|
show
|
jobs
by
phaylon
4067 days ago
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