Parametric polymorphism: Difference between revisions

m
m (minor clarification)
Line 811:
(aka assigned to/overwritten on return from) the top-level tmap() call, and yet also manages the C#/Dart/Kotlin
thing (by which I am referring to those specific examples on this page) of creating a whole new tree, simply
because lhs assignee!=rhs reference (aka root2!=root) in that object "root2 = tmap(root,rid)", not that such a "deep call.clone"
would (barring a few dirty low-level tricks) behave any differently to "root2=root", which is "a straightforward shared reference
with cow semantics".
<lang Phix>enum data, left, right
 
7,806

edits