partition: Paritition a list into two lists based on the reuslts of a...

Description Usage Arguments

Description

Paritition a list into two lists based on the reuslts of a binary function.

Usage

1
partition(xs, f)

Arguments

xs

list. The list to partition.

f

function. A function that returns TRUE or FALSE for each element into the list, determining which partition each element ends up in.


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