Created
September 15, 2015 16:58
-
-
Save safareli/0bab78ae1046eba9c08f 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
R.thunk = function(f,...args){ | |
return function(){ | |
return f.apply(this,args) | |
} | |
} | |
R.thunk(console.log,'log this only')('dont log this'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment