npm.io
1.0.3 • Published 9 years ago

funny-fold

Licence
MIT
Version
1.0.3
Deps
1
Vulns
0
Weekly
0
Stars
5

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.

Keywords