Skip to content

Instantly share code, notes, and snippets.

@rsp
Last active November 29, 2017 14:11
Show Gist options
  • Save rsp/c1607c8a9f489faa136c81b578428048 to your computer and use it in GitHub Desktop.
Save rsp/c1607c8a9f489faa136c81b578428048 to your computer and use it in GitHub Desktop.
inFullMobile Language Wars: Round 1 - Old JavaScript Solution 2 by @rsp - See: https://gist.github.com/rsp/d8bdbafa09f24f99eebc8ed60fe205c8
function e(a) {
return function (b) {
return function (c) {
return c ? e(b(a))(b)(c - 1) : a;
};
};
}
function f(a) {
return function (b) {
return function (c) {
return e(c)(b)(a(function (a) { return a + 1; })(0) - 1);
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment