Skip to content

Instantly share code, notes, and snippets.

@moizjv
Created July 5, 2015 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moizjv/a1bc30ec21ddb803b623 to your computer and use it in GitHub Desktop.
Save moizjv/a1bc30ec21ddb803b623 to your computer and use it in GitHub Desktop.
const Y = (f) => {
const g = (h) => {
return (x) => {
return f(h(h))(x);
};
};
return g(g);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment