≡ ▶ Infestines ·
This is a minimalistic library of basic utilities, such as currying, for writing more interesting high performance FP libraries. This library is not intended to be used for application programming. Primitives that are too specialized to be used as a basis for nearly optimal implementations of higher level operations are not provided.
- Reference
I.curryN(2, x => {
const x2 = x*x
return y => x2 + y
})(2, 3)
// 7
I.array0
is an
empty
frozen array
[]
.
I.object0
is an
empty
frozen object
{}
.