chore: ramda-adjunct v2.18.0 release

Jun 15 · 1 min read
ramda-adjunct v2.18.0

We’ve released ramda-adjunct v2.18.0. This release brings couple of new interesting functions and additional support of ramda placeholder for couple of unary functions that hadn’t had it before. Lately the number of contributions has increased caused by steadily growing popularity and adoption of Ramda Adjunct.

isIterable

Checks whether the passed value is iterable.

allSettledP

Returns a promise that is fulfilled with an array of promise state snapshots, but only after all the original promises have settled, i.e. become either fulfilled or rejected. We say that a promise is settled if it is not pending, i.e. if it is either fulfilled or rejected.

isNotNilOrEmpty

Returns true if the given value is its type's empty value, null or undefined.

cata

This function is in the library almost from the beginning. In this release she got a nice face-lift in the form of supporting catamorphisms on following types: Either, Maybe, Result, Validation from following libraries: monet.js, folktale, ramda-fantasy.

Regarding ramda placeholder support: below is a list of unary functions that have received auto-curry support:

isNegative, isNilOrEmpty, isNonNegative, isNonPositive

Like always, I end my article with the following axiom: Define your code-base as pure functions and lift them only if needed. And compose, compose, compose…

Ramda Adjunct

Ramda Adjunct is the most popular and most comprehensive set of utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.

Vladimir Gorej

Written by

Ramda Adjunct

Ramda Adjunct is the most popular and most comprehensive set of utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade