Support function:
- set_val(path, val) -> replace the value inside the data structure where the
path points to with val
- transform(path, func) -> apply the
func to the value where path points to
The path should be compatible with the query function.
Research:
Support function:
pathpoints to withvalfuncto the value wherepathpoints toThe
pathshould be compatible with thequeryfunction.Research:
recursiveagain , while it may encounter a performance hit .