update docs

This commit is contained in:
Yuichi Nishiwaki 2014-07-13 12:37:15 +09:00
parent b7a44ee810
commit 21b21cc3cc
1 changed files with 17 additions and 2 deletions

View File

@ -144,9 +144,9 @@ Symbol to Object table. Internally it is implemented on hash-table.
Note that dictionary is not a weak map; if you are going to make a highly memory-consuming program with dictionaries, you should know that dictionaries keep their bound objects and never let them free until you explicitly deletes bindings.
- **(dictionary)**
- **(dictionary . plist)**
Returns a newly allocated empty dictionary. In the future, it is planned to extend this function to take optional arguments for initial key/values.
Returns a newly allocated empty dictionary. The dictionary is initialized with the content of plist.
- **(dictionary? obj)**
@ -168,6 +168,21 @@ Note that dictionary is not a weak map; if you are going to make a highly memory
Returns the number of registered elements in dict.
- **(dicitonary-map proc dict)**
Perform mapping action onto dictionary object. ``proc`` is called by a sequence ``(proc key val)``.
- **(dictionary-for-each proc dict)**
Similar to ``dictionary-map``, but discards the result.
- **(dictionary->plist dict)**
- **(plist->dictionary plist)**
- **(dictionary->alist dict)**
- **(alist->dictionary alist)**
Conversion between dictionary and alist/plist.
(picrin user)
-------------