I have code as:
Option.when(condition)(evaluation)
..and I want to add another condition if first one fails, basically pseudo code like:
if(condition) {
Some(evaluation)
} else if(another condition) {
Some(another evaluation)
} else None
So what's the accepted way of chaining multiple Option.when?