Created
June 30, 2017 22:35
-
-
Save venomnert/01f9c0f9657fb7f391ee1f81e5a42f05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pipe = (op1, op2) => { | |
return (arg) => { | |
const result1 = op1(arg); | |
return op2(result1); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment