summaryrefslogtreecommitdiffstats
path: root/alist.txi
diff options
context:
space:
mode:
Diffstat (limited to 'alist.txi')
-rw-r--r--alist.txi6
1 files changed, 6 insertions, 0 deletions
diff --git a/alist.txi b/alist.txi
index 804df8a..257724e 100644
--- a/alist.txi
+++ b/alist.txi
@@ -20,6 +20,7 @@ argument or @code{#f} if no key in the alist is @var{pred}-equal to the
first argument.
@end defun
+
@defun alist-inquirer pred
Returns a procedure of 2 arguments, @var{alist} and @var{key}, which
@@ -27,6 +28,7 @@ returns the value associated with @var{key} in @var{alist} or @code{#f} if
@var{key} does not appear in @var{alist}.
@end defun
+
@defun alist-associator pred
Returns a procedure of 3 arguments, @var{alist}, @var{key}, and
@@ -42,6 +44,7 @@ lost. This returned procedure may or may not have side effects on its
@end lisp
@end defun
+
@defun alist-remover pred
Returns a procedure of 2 arguments, @var{alist} and @var{key}, which
@@ -55,6 +58,7 @@ This returned procedure may or may not have side effects on its
@end lisp
@end defun
+
@defun alist-map proc alist
Returns a new association list formed by mapping @var{proc} over the
@@ -62,9 +66,11 @@ keys and values of @var{alist}. @var{proc} must be a function of 2
arguments which returns the new value part.
@end defun
+
@defun alist-for-each proc alist
Applies @var{proc} to each pair of keys and values of @var{alist}.
@var{proc} must be a function of 2 arguments. The returned value is
unspecified.
@end defun
+