Closed Vrabbers closed 1 year ago
Thanks a lot for filing these issues, @Vrabbers!
For the deep copying, I think the text is wrong. Iirc #deepCopy
has no cycle protection whereas #veryDeepCopy
has?
For #gather:
, I would propose the following example instead:
colors gather: [:color | color names] --> #(#white #snow #yellow #lemon #red #maraschino #blue #blueberry #orange)
@codeZeilen If you agree with these proposals, I'll be glad to submit a PR. :-)
@codeZeilen Please reply with a comment for approval in the future, I missed that because GitHub doesn't notify me about reactions 😅
In section 8.1, page 178, the explanation for the code snippet mentions![image](https://user-images.githubusercontent.com/25323861/108413882-536fb000-720a-11eb-8c25-a0319def14b8.png)
Object>>deepCopy:
, but its snippet usesveryDeepCopy
.In the very end of 9.6, page 214, the code snippet provided for![image](https://user-images.githubusercontent.com/25323861/108414304-d4c74280-720a-11eb-804a-cb0786119449.png)
anySatisfy:
andgather:
are the same.