ral_cons: Construct a new random access list by prepending an element.

Description Usage Arguments Value

View source: R/random_access_lists.R

Description

Empty random access lists are represented as NULL, so to create lists start from there.

Usage

1
ral_cons(elem, ral)

Arguments

elem

Element to put at the front of the list

ral

Random access list

Value

New random access list with elem at the front


mailund/ralgo documentation built on April 3, 2018, 9:29 p.m.