do not rely on reported arity in R.memoize

I just got bitten by this when passing the result of a call to `R.pipe` to `R.memoize`. >.<