summaryrefslogtreecommitdiffstats
path: root/alist.txi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
commit5145dd3aa0c02c9fc496d1432fc4410674206e1d (patch)
tree540afc30c51da085f5bd8ec3f4c89f6496e7900d /alist.txi
parent8466d8cfa486fb30d1755c4261b781135083787b (diff)
downloadslib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.tar.gz
slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.zip
Import Upstream version 3a2upstream/3a2
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
+