On Thu, Sep 21, 2017 at 2:37 AM, Luca Ferrari <fluca1...@infinito.it> wrote:

> Out of cursiosity: what is the diffence between using "is copy" and "<->"?
> Seems to me the map example can work with both.
>

<-> is the same as "is rw" and requires that the thing being bound be a
mutable container, which will be altered if the binding is. "is copy"
instead creates a new mutable container holding a copy of the thing being
bound, so that changes to it are possible but won't affect the original.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to