Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Six years of professional Clojure development. Parent comment
match x { <cond1> => <expr1>, <cond2> => <expr2>, <cond3> => <expr3>, _ => <expr>, } let message = match maybe_digit { Some(x) if x < 10 => process_digit(x), Some(x) => process_other(x), None => panic!(), };
https://doc.rust-lang.org/reference/expressions/match-expr.h...
There are no comments on this comment yet.
https://doc.rust-lang.org/reference/expressions/match-expr.h...