I have a Boolean and would like to avoid this pattern:
if (myBool) Option(someResult) else None
What I\'d like to do is
If you don't mind someResult being evaluated no matter the value of myBool you can also use
someResult
myBool
Some(someResult).filter(myBool)