Created
November 15, 2016 21:40
-
-
Save lambdatastic/84d48ef57870a45c5c7e53c07b3b1415 to your computer and use it in GitHub Desktop.
Random snippets
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
function(key, options) { | |
// random stuff | |
return function(dispatch) { | |
// other things | |
} | |
} | |
// is equal to | |
curry( | |
function(key, options, dispatch) { | |
// random stuff | |
// other stuff | |
} | |
) | |
// the second feels cleaner to me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment