> The list of languages that lack deep immutability is longer than the 
> languages that have it.

Didn't mean deep immutability. In C++, we can at least do this: 
    
    
    void mutate(const ObjType& o) {
        o.field1 = newVal;       // this doesn't compile
    };
    
    
    Run

Is there a way to do this with a `var ref` parameter in Nim I don't know about?

Reply via email to