map: Apply a function to a list

Description Usage Arguments Value See Also

Description

One of the most obvious extensions of a functional list is a tool to iterate over that "object."

Usage

1
map(ls, fn, ...)

Arguments

ls

A function, with class fl, that operates as a functional list object

fn

A function be applied to each of the scalars contained in the arguments of the functional list object

...

Additional arguments to fn

Value

A functional list of the same length as ls, where each new element is equal to fn(x) of each scalar contained in ls

See Also

lapply, Map


michaelquinn32/lambdaList documentation built on May 22, 2019, 9:52 p.m.