shallowCopy1

Run Settings
LanguageNim
Language Version
Run Command
var s1, s2: seq[string] s1 = @["Dies", "ist", "ein", "Test"] # s2 = s1 shallowCopy(s2, s1) s1[1] = "war" echo s1 echo s2 # -> @[Dies, war, ein, Test] # -> @[Dies, ist, ein, Test]
Editor Settings
Theme
Key bindings
Full width
Lines