toIList method

IList<A> toIList()

Implementation

IList<A> toIList() => foldRight(nil(), (A a, IList<A> p) => new Cons(a, p));