funny-fold
v1.0.3
Published
Simple modules for functional programming, done for fun.
Downloads
1
Readme
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.