cons<A> function

IList<A> cons<A>(
  1. A head,
  2. IList<A> tail
)

Implementation

IList<A> cons<A>(A head, IList<A> tail) => new Cons(head, tail);