proc myProc() = let myVar = block: var myVar = "hello " myVar &= "world" myVar echo myVar # myVar &= "!" # This throws an error myProc()