Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -0,0 +1,14 @@
|
|||
(import std.Dict)
|
||||
|
||||
(let base (dict
|
||||
"name" "Rocket Skates"
|
||||
"price" "12.75"
|
||||
"color" "yellow"))
|
||||
(let update (dict
|
||||
"price" "15.25"
|
||||
"color" "red"
|
||||
"year" "1974"))
|
||||
|
||||
(mut result (dict:copy base))
|
||||
(dict:update! result update)
|
||||
(print result)
|
||||
Loading…
Add table
Add a link
Reference in a new issue