I understand that `R.nthArg` returns a function which returns its nth argument. But I don't know how I can use it with my function below:

```
const REG = /^\s*$/;
const string = R.test(REG);
const result = (errorText) => (value) => string(value) ? errorText : null

result(translate(message));

```

Sample usage
------------

```js
const testString = R.test(/^\s*$/);

// const validator = (errorText) => (value) => 
//  testString(value) ? errorText : null;  

const validator = R.curry((errorText, value) =>      
  testString(value) ? errorText : null);  

const valid = validator('my Error');  

console.log('resultOne ' + valid('ololo')); 
console.log('resultTwo ' + valid(''));

```

```html
<script src="//cdnjs.cloudflare.com/ajax/libs/ramda/0.27.1/ramda.min.js"></script>

```