Learning a bit of Rust


Type Option represents an optional value: every Option is either Some and contains a value, or None, and does not.

Oh. Some is part of Option types in Rust, like datatypes in Haskell. We either have Some(value) or we have None. Ok. Good to know.