flatmap: Apply a map and then flatten the result.

Description Usage Arguments

Description

Apply a map and then flatten the result.

Usage

1
flatmap(xs, f)

Arguments

xs

list. The list to map over.

f

function. The mapping function to apply to each element of the list.


peterhurford/funtools documentation built on May 25, 2019, 1:50 a.m.