effect-io-ai

Package: effect
Module: List

List.cons

Constructs a new List.Cons<A> from the specified head and tail values.

Signature

declare const cons: <A>(head: A, tail: List<A>) => Cons<A>

Source

Since v2.0.0