Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
259
export
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.ts
File · 0.70
Calls
1
makeCons
Function · 0.85
Tested by
no test coverage detected