I.e. `sequence: (List<Option<A>>) -&gt...
# arrow
s
I.e.
sequence: (List<Option<A>>) -> Option<List<A>>
which yields
Some
if all options were
Some
or
None
if one of them was empty.
e
Thanks. So, is a tool when you are using FP but in a “non-FP” makes more sense stay with
?
elvis etc. Makes no sense to add typeclasses and still use
?
(not incorrect but…) Could I say that if I am explaining this to a collegue?
s
It can make sense to use typeclasses and still use
?
IMO.
e
Anyway, your explanation was clear and perfect for me! 👌
s
Anytime 🙂