Skip to content

Instantly share code, notes, and snippets.

@rsp
Last active November 29, 2017 15:17
Show Gist options
  • Save rsp/7a8aeba4cf4cf215c1b199f03a72df75 to your computer and use it in GitHub Desktop.
Save rsp/7a8aeba4cf4cf215c1b199f03a72df75 to your computer and use it in GitHub Desktop.
The input functions from https://github.com/rsp/ifm-lw-r1-js
const input1 = x => y => x(y);
const input2 = x => y => x(x(y));
const input3 = x => y => x(x(x(x(x(x(x(x(x(x(y))))))))));
const input4 = x => input3(input3(x));
const input5 = x => input3(input4(x));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment