Edit in JSFiddle

var gt = (lowerBound, input) => input > lowerBound;
var curriedGt = R.curry(gt);

console.log(gt(10, 11));
console.log(curriedGt(10, 11));
console.log(curriedGt(10)(11));

var lt = (upperBound, input) => input < upperBound;
var curriedLt = R.curry(lt);

var gt10 = x => curriedGt(10)(x);
var lt20 = x => curriedLt(20)(x);

var between = x => gt10(x) && lt20(x);
var myArray = [9,10,11,12,13,20,22];
console.log(R.filter(between, myArray));
<script src="http://facebook.github.io/react/js/jsfiddle-integration.js"></script>

<div id="container"></div>

              
            
          
            
              

External resources loaded into this fiddle: