@thisables/curry
Version:
Currying made simple
10 lines (7 loc) • 365 B
JavaScript
import curryFunction from './curry';
// The placeholder could be any uniquely identifiable object.
// Its contents are irrelevant.
// We provide it with a `placeholder` property only to make it easier to
// see what it is in a debugger window, for example.
export const _ = {placeholder: '@thisables/curry'};
export const curry = curryFunction({placeholder: _});