Skip to content

Instantly share code, notes, and snippets.

Berton Zhu meowtec

Block or report user

Report or block meowtec

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View deep-currying.js
function currying(fun) {
function curryingIter(fun, len) {
if (len < 2) {
return fun
}
return curryingIter(function() {
var args = [].slice.call(arguments)
return function(x) {
args.push(x)
You can’t perform that action at this time.