Link Search Menu Expand Document

As compared to Ramda

fp-ts-std attempts to bridge the gap between fp-ts, a highly abstract library, and libraries like Ramda, which are focused on providing utility functions.

Here’s the status of all of Ramda’s functions (as of Ramda v0.27.0) being potentially implemented in fp-ts-std.

Note that some functions are not one-to-one replacements, but rather bequeath a better pattern in code. For example, the Ramda function hasIn is distinct from has only insofar as it checks the input object’s prototype for the specified key, too. Prototypal code isn’t functional and not something this library intends to support; instead, look for functional alternatives.