jcubic / Monadic

JavaScript micro library - POC
16 stars 1 forks source link

Add function method limit #2

Closed jcubic closed 11 years ago

jcubic commented 11 years ago

Like allong.es unary that set function to have only one argument limit will make n arguments.

['Lorem', 'Ipsum', 'Dolor'].forEach(console.monadic(false).log.limit(1));

isntead of limit the name can be args.