optional icon indicating copy to clipboard operation
optional copied to clipboard

Optional values with pattern matching

Results 2 optional issues
Sort by recently updated
recently updated
newest added

In your enclosed examples of mapping optional types, you don't have an example which maps a Some[value] to a None. How do you accomplish that? Some["caterpillar!"].map(&:upcase) # => Some["CATERPILLAR!"] None.map(&:upcase)...