let dictionary-ref return two values

This commit is contained in:
Yuichi Nishiwaki
2014-08-29 23:57:55 +09:00
parent 059ee0c5cb
commit 3b3a74e114
3 changed files with 20 additions and 23 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ Note that dictionary is not a weak map; if you are going to make a highly memory
- **(dictionary-ref dict key)**
Look up dictionary dict for a value associated with symbol key. If no object is associated with key, it will raise an error.
Look up dictionary dict for a value associated with symbol key. It returns two values: first is the associated value if exists, and second is a boolean of lookup result.
- **(dictionary-set! dict key obj)**