0.0.2 • Published 7 years ago

ramda-over-path v0.0.2

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

ramda-over-path

a commonly used utility in the form of

// curry((pathArr, transformer, state) => over(lensPath(pathArr), transformer, state));
import overPath from 'ramda-over-path';

// => [2, 2]
overPath([0], s => s + 1, [1, 2]);

with generic type <Root, Part>;

0.0.2

7 years ago

0.0.1

7 years ago