funny-each

v1.0.2
Simple modules for functional programming, done for fun.
each fp funny functional

each

Simple modules for functional programming, done for fun.

Usage

import each from 'funny-each'

const all = []

each(item => all.push(item + 1), [1, 2, 3, 4])

all // [2, 3, 4, 5]

License

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

npm i funny-each

Metadata

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

Downloads

Maintainers