Skip to content

Latest commit

 

History

History
202 lines (165 loc) · 16.3 KB

README.md

File metadata and controls

202 lines (165 loc) · 16.3 KB

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.

npm version Bower version Build Status Code Coverage

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 {}.