mirror of
https://github.com/janet-lang/janet
synced 2025-10-29 22:53:03 +00:00
Fix return value of update.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user