summaryrefslogtreecommitdiff
path: root/doc/api/utils.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/utils.texi')
-rw-r--r--doc/api/utils.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/api/utils.texi b/doc/api/utils.texi
index 308daee..4858010 100644
--- a/doc/api/utils.texi
+++ b/doc/api/utils.texi
@@ -72,7 +72,7 @@ an object within the guardian is GC'd. Reaping is ensured to happen
from the same thread that is running the game loop.
@end deffn
-@deffn memoize @var{proc}
+@deffn {Scheme Procedure} memoize @var{proc}
Return a memoizing version of @code{proc}.
@end deffn
@@ -108,3 +108,12 @@ Like @code{chain*} but for a single argument.
@end example
@end deffn
+
+@deffn {Scheme Procedure} list->vlist* @var{lst}
+Convert @code{lst} and all sub-lists within to vlists.
+@end deffn
+
+@deffn {Scheme Procedure} list->vlist* @var{lst} @var{index} [@dots{}]
+Return the element at index @code{index @dots{}} in the nested vlist
+structure @code{vlist}.
+@end deffn