mapIterableTo

fun <T, R, C : MutableCollection<R>> Maybe<Iterable<T>>.mapIterableTo(collectionSupplier: () -> C, mapper: (T) -> R): Maybe<C>

Same as mapIterable but saves resulting values into a MutableCollection returned by collectionSupplier.