title: Currying functions in R
body: <p>Is it possible to use <a href="http://en.wikipedia.org/wiki/Currying" rel="noreferrer">currying</a> in <code>R</code>?</p>
  
  <p>One possibility is to have special <code>paste</code> functions (it can be considered as a follow up to <a href="https://stackoverflow.com/questions/5322546/operation-overloading-in-r">here</a>), e.g. (in incorrect code):</p>
  
  <pre><code>'%+%' &lt;- (sep)function(x,y) paste(x,y,sep=sep)
  "a"%+%("")"b"%+%("_")"c" #gives "ab_c"
  </code></pre>
  
  <p>What would be a possible implementation in <code>R</code>? </p>
  
  <p>PS: The <code>paste</code> is just an example, I am curious about the possibilities of <code>R</code>...</p>