code: function extractPaths(obj, newKeys, ...paths) {
    const nkLen = newKeys.length;
    const pLen = paths.length;
  
    const curried = curry(assignKeysAtPaths, obj, newKeys, paths);
  
    return nkLen > pLen ? curried(nkLen) : curried(pLen);
  }
docs: /* Object, Array-of-String, ...Array-of-String -> Object
  extracts values from an object from multiples paths:
  a Path is [...String]
  assumes newKeys is false or [...String]