mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Fix return value of update.
This commit is contained in:
		| @@ -1033,7 +1033,7 @@ | |||||||
|   data structure ds." |   data structure ds." | ||||||
|   [ds key func & args] |   [ds key func & args] | ||||||
|   (def old (get ds key)) |   (def old (get ds key)) | ||||||
|   (set (ds key) (func old ;args))) |   (put ds key (func old ;args))) | ||||||
|  |  | ||||||
| (defn merge-into | (defn merge-into | ||||||
|   "Merges multiple tables/structs into a table. If a key appears in more than one |   "Merges multiple tables/structs into a table. If a key appears in more than one | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose