Might be nice to have something to take an Option ...
# arrow
s
Might be nice to have something to take an Option and converted to a Validated - invoking a lambda for the error case. Something like
foo.toOption().toValidated { "foo is null" } // Validated<String, Foo>