|
|
|
|
|
by tobr
4133 days ago
|
|
After a little bit of use, I feel like lodash-fp is limited by being a simple adaptation of lodash. Lodash's API is designed around variadic functions, which doesn't really work with autocurrying, so a bunch of important options and functionality is lost. On the other hand, working with Ramda makes me miss some of the flexibility of lodash - e.g., not having to use a different map() for arrays and objects. The optimal functional utility library would be designed with autocurrying in mind from the start, but not shy away from flexibility where it makes sense. |
|
lodash-fp does this for max, min, & uniq by offering maxBy, minBy, & uniqBy.