Skip to main content
100%

A set of pure and immutable ES2015 functions aimed to make functional JavaScript more idiomatic.

✓ Published0🌍 Public
JJaxonDvl
Last edited Jun 25, 2015
Created on Apr 4, 2016

This example presents a collection of pure, immutable ES2015 utility functions for idiomatic functional JavaScript. It includes array operations such as `combine`, `compact`, `difference`, and `intersection`, object helpers like `merge` and `toMap`, math functions (`min`, `max`, `sum`, `product`), and function decorators including `curry`, `once`, `maybe`, and `pipeline`. The code relies on native JavaScript features like `Array.prototype.includes`, `Set`, `Map`, `Object.assign`, and spread syntax. No external libraries or data sources are used; the gist demonstrates standalone, reusable functional patterns.

AI-generated description

Similar vizzes