Gotcha, but isn’t that basically the same thing as...
# arrow
r
Gotcha, but isn’t that basically the same thing as doing something like this?
Copy code
fun fooBarBaz(): Option<String> {
    val one = Some("Foo")
    val two = Some("Bar")
    val three = Some("Baz")

    return Option.fx { 
        val (valueOne) = one
        val (valueTwo) = two
        val (valueThree) = three
        
        valueOne + valueTwo + valueThree
    }
}