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

http://doc.rust-lang.org/doc/tutorial.html#pattern-matching

This is the whole reason why that language has such a big potential.

It has high level algebraic datatypes with pattern matching, so you can nicely model your control flow (like haskell or ocaml) but still remaining low-level.




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

Search: