funny-fold

1.0.3 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i funny-fold

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • goblindegook