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