Implement new ldict-set procedure.
This commit is contained in:
		
							parent
							
								
									a80b216bbc
								
							
						
					
					
						commit
						ac1c5d28c6
					
				
					 2 changed files with 23 additions and 11 deletions
				
			
		|  | @ -81,6 +81,15 @@ of missing key. | |||
| Returns a new dictionary with the record under given key removed. If | ||||
| the dictionary does not contain the key ```k```, an error is raised. | ||||
| 
 | ||||
|     (ldict-set ld k v) | ||||
| 
 | ||||
| * ```ld``` - a ldict instance | ||||
| * ```k``` - a compatible key | ||||
| * ```v``` - a value to insert | ||||
| 
 | ||||
| Sets existing key ```k``` to the new value ```v``` or inserts it if it | ||||
| is not already present in the dictionary ```ld```. | ||||
| 
 | ||||
| ### IO | ||||
| 
 | ||||
|     (import util-io) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue