CONS: Constructs a new linked list from an element and another list

Description Usage Arguments Value

View source: R/linked-lists.R

Description

Constructs a new linked list from an element and another list

Usage

1
CONS(car, cdr)

Arguments

car

The head of the new list

cdr

The remainder of the list

Value

A new list


mailund/matchbox documentation built on Feb. 3, 2020, 10:17 p.m.