As I understand it for Result Builders,
- a lone
ifstatement maps to a build-optional - an
if-elsepair maps to two build-either calls - a switch maps to a tree of build-either calls
- an
if/(else-if)/elsechain also maps to a tree of build-either calls
So what happens for if/(else-if) chain with no plain-else case? A bunch of build-either ending with a build-optional?