Skip to contents

Create a closure combining a function with data.

Usage

cmb(f, d)

Arguments

f

a function to wrap in a closure.

d

a list of data to bind to the function.

Value

a function that takes parameters and calls f(parameters, data).