@set-theory/closure
v1.0.0
Published
Set closure for JavaScript
Downloads
33
Readme
:mrs_claus: @set-theory/closure
Set closure for JavaScript. See docs.
:warning: Depending on your environment, the code may require
regeneratorRuntime
to be defined, for instance by importing regenerator-runtime/runtime.
import {singletonUnderUnaryOperator} from '@set-theory/closure';
singletonUnderUnaryOperator( x => x + 1 , 0 ) ; // 0 1 2 3 ...