Implement ldict-contains? predicate.

This commit is contained in:
Dominik Pantůček 2023-04-09 19:29:46 +02:00
parent 920fab2b83
commit a5ed5bca53
2 changed files with 23 additions and 9 deletions

View file

@ -49,11 +49,18 @@ populating it with initial data.
If only one argument is given, the procedure checks whether it is a
list of equality procedure and acts accordingly.
(ldict-empty? d)
(ldict-empty? ld)
* ```d``` - a ldict instance
* ```ld``` - a ldict instance
Returns true if given dictionary contains no keys.
Returns ```#t``` if given dictionary contains no keys.
(ldict-contains? ld k)
* ```ld``` - a ldict instance
* ```k``` - a key compatible with given ldict
Returns ```#t``` if given ```ld``` contains given key ```k```.
### IO