Now imagine if you can apply a lambda to any type and not just collections? That’s called Map. Many types in F#, e.g. Option, Result, Async, List etc. have Map. Option Map, for instance, applies the lambda only if the Option is Some.

Code Snippet
let addOneAndPrint number =
number
|> Option.map (fun number -> number + 1)
|> printfn "%A"
Some 2 |> addOneAndPrint
None |> addOneAndPrint