code: function nAry(num, fn) {
    if(!isNumber(num)) {
      throw new TypeError('nAry: Number required for first argument')
    }
  
    if(!isFunction(fn)) {
      throw new TypeError('nAry: Function required for second argument')
    }
  
    return curryN(num, fn)
  }
docs: nAry : Number -> (* -> a) -> * -> * -> a