v1.4.0 - Add new Option.collect() constructor
1.4.0 - 2020-03-09
Added
- New
Option.collect
constructor to create anOption[Tuple[T, ...]]
from an iterable ofOption[T]
. If all Options in the iterator areSome[T]
,
they are collected into a tuple in the resultingSome
. If any are
Nothing()
, the result isNothing()
.