Skip to content

Instantly share code, notes, and snippets.

@Enome
Created September 26, 2015 14:30
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 Enome/5a0d89c1b8a011a94cfd to your computer and use it in GitHub Desktop.
Save Enome/5a0d89c1b8a011a94cfd to your computer and use it in GitHub Desktop.
> var concat = function (x, y) { return x + y; };
> concat('hello', 'world')
'helloworld'
> R.partialRight(concat, 'world')('hello');
'helloworld'
> R.partialRight(concat, 'world')('hello', 'universe');
'hellouniverse'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment