hof: Create a higher order function

Description Usage Arguments Value

View source: R/hof.R

Description

Create a higher order function

Usage

1
hof(fn)

Arguments

fn

The original function.

Value

A function with class 'hof', wrapping the original.


hughjonesd/hoffr documentation built on Nov. 18, 2017, 1:59 p.m.