At each step, a filter modifies it.
在每个步骤中,过滤器都会修改它。
Developer 1 modifies it and releases it to the stream.
Developer 1修改它并把它发布到流中。
When using clojure.walk, we don't need to specify any navigation code; instead we supply only the essential code that finds the node to modify and modifies it.
在使用 clojure.walk 时,我们不需要指定任何导航代码,只需提供查找要修改的节点并做出修改的重要代码即可。
And again, a related problem that people run into is side-effects. You call a function and it returns a value, but maybe it, on purpose or on accident, modifies one of the actual parameters.
另外,一个人们常碰到的相关问题,就是副作用,你调用一个函数它返回一个值,但是故意或者无意的,它可能会修改一个实参的值。
应用推荐