An Iterable that is guaranteed to have at least one element

Static variables

staticread onlyhead:A

staticread onlytail:Iterable<A>

Static methods

staticasIterable1<A>(as:Pair<A, Iterable<A>>):Iterable1<A>

staticinlinefirst(this:Pair<A, Iterable<A>>):A

staticflatMap1<B>(this:Pair<A, Iterable<A>>, fn:A ‑> Iterable1<B>):Iterable1<B>

staticflatten<A>(aas:Iterable1<Iterable1<A>>):Iterable1<A>

staticfrom1<A>(fst:A, rest:Rest<A>):Iterable1<A>

staticiterable1With<A>(head:A, tail:Iterable<A>):Iterable1<A>

staticiterator(this:Pair<A, Iterable<A>>):Iterator<A>

staticlast(this:Pair<A, Iterable<A>>):A

staticmap1<B>(this:Pair<A, Iterable<A>>, fn:A ‑> B):Iterable1<B>

@:tostaticinlinetoArray(this:Pair<A, Iterable<A>>):Array<A>

@:tostaticinlinetoArray1(this:Pair<A, Iterable<A>>):Array1<A>

@:tostaticinlinetoIterable(this:Pair<A, Iterable<A>>):Iterable<A>