foldRightList: List builder

Description Usage Arguments Value See Also

Description

foldRightList takes a function and a collection of items, then applies that function to each of the items, creating a list in which each item becomes a key/name and the return value from function f applied to each item is bound to that item, i.e. key/name.

Usage

1
foldRightList(f, items)

Arguments

f

Function to apply to the collection of items.

items

The collection of inputs, in which each then becomes a key/name in the resulting list.

Value

list in which each name is an element from items and each value is the result of applying f to that item.

See Also

Reduce for what's wrapped.


vreuter/SwissR documentation built on May 14, 2019, 11:29 a.m.