funny-fold

v1.0.3
Simple modules for functional programming, done for fun.
fold fp funny functional

fold

Simple modules for functional programming, done for fun.

Usage

import fold from 'funny-fold'

fold((acc, item) => acc + item, 10, [1, 2, 3, 4]) // 20

License

The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.

npm i funny-fold

Metadata

  • MIT
  • Whatever
  • Luís Rodrigues
  • released 4/30/2017

Downloads

Maintainers