Implement ldict-remove procedure.
This commit is contained in:
parent
1df2792838
commit
a80b216bbc
2 changed files with 23 additions and 11 deletions
|
@ -73,6 +73,14 @@ the dictionary does not contain it and no default is given, an
|
|||
exception is raised. Otherwise the default value is returned in case
|
||||
of missing key.
|
||||
|
||||
(ldict-remove ld k)
|
||||
|
||||
* ```ld``` - a ldict instance
|
||||
* ```k``` - a compatible 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.
|
||||
|
||||
### IO
|
||||
|
||||
(import util-io)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue