simon.vergauwen
04/02/2019, 4:56 PMsequence: (List<Option<A>>) -> Option<List<A>>
which yields Some
if all options were Some
or None
if one of them was empty.earroyoron
04/02/2019, 5:03 PM?
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?simon.vergauwen
04/02/2019, 5:04 PM?
IMO.earroyoron
04/02/2019, 5:05 PMsimon.vergauwen
04/02/2019, 5:06 PM