Snippets tagged options

  • Apply Operators to Options

    Simple function to apply operators to option types. Applies the operator to each value and returns a new option containing the result. Treats None as the operator's identity element (i.e., ignores it).

    1 people like this

    Posted: 12 years ago by Richard Broida