Option(null).map(str => str + "!").foreach(str => println(str)) is a noop.
"...an object which implements the expected interface, but whose method body is empty. "
https://en.wikipedia.org/wiki/Null_Object_pattern
Option(null).map(str => str + "!").foreach(str => println(str)) is a noop.