funny-constant

v1.0.3
Simple modules for functional programming, done for fun.
constant fp funny functional

constant

Simple modules for functional programming, done for fun.

Usage

import constant from 'funny-constant'

const alwaysOne = constant(1)

alwaysOne() // 1

License

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

npm i funny-constant

Metadata

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

Downloads

Maintainers