Class Cell

A cons cell

The building block for lists

Hierarchy

  • Cell

Constructors

Properties

Accessors

Methods

Constructors

Properties

First value of the cell

Rest value of the cell

Accessors

Methods

  • Iterate a cell as an array

    Returns Generator<unknown, void, unknown>

  • Create a pair from first and last values

    Parameters

    • car: unknown

      First value of cell

    • cdr: unknown

      Last value of cell

    Returns Cell

    Pair of first and last value

Generated using TypeDoc