mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
Fix return value of update.
This commit is contained in:
parent
d71cf093bb
commit
7553b277db
@ -1033,7 +1033,7 @@
|
||||
data structure ds."
|
||||
[ds key func & args]
|
||||
(def old (get ds key))
|
||||
(set (ds key) (func old ;args)))
|
||||
(put ds key (func old ;args)))
|
||||
|
||||
(defn merge-into
|
||||
"Merges multiple tables/structs into a table. If a key appears in more than one
|
||||
|
Loading…
Reference in New Issue
Block a user