funny-flatten

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

flatten

Simple modules for functional programming, done for fun.

Usage

import flatten from 'funny-flatten'

flatten([1, [2, 3]]) // [1, 2, 3]

License

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

npm i funny-flatten

Metadata

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

Downloads

Maintainers