MCPcopy
hub / github.com/Effect-TS/effect / cons

Function cons

packages/effect/src/List.ts:259–259  ·  view source on GitHub ↗
(head: A, tail: List<A>)

Source from the content-addressed store, hash-verified

257 * @category constructors
258 */
259export const cons = <A>(head: A, tail: List<A>): Cons<A> => makeCons(head, tail)
260
261/**
262 * Constructs a new empty `List<A>`.

Callers 1

List.tsFile · 0.70

Calls 1

makeConsFunction · 0.85

Tested by

no test coverage detected