funny-constant

1.0.3 • Public • Published

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.

Package Sidebar

Install

npm i funny-constant

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • goblindegook