IVector<A>.from constructor

IVector<A>.from(
  1. Iterable<A> iterable
)

Implementation

factory IVector.from(Iterable<A> iterable) => iterable.fold(emptyVector(), (p, a) => p.appendElement(a));