From f44415ea46b246bee09b26b21de340b401bacc6d Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Wed, 26 Oct 2022 07:00:51 -0500 Subject: Docs: modified docstring on with-alist --- derrida.lisp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'derrida.lisp') diff --git a/derrida.lisp b/derrida.lisp index f8fe8bd..c9bd495 100644 --- a/derrida.lisp +++ b/derrida.lisp @@ -5,10 +5,13 @@ (defmacro with-alist ((&optional (accessor 'cdr)) (&rest bindings) alist &body body) - "Bind variables to accessors into ALISTS. Each member of BINDINGS is - either a symbol variable or a list that looks like (var key-term . kwargs). + "Bind variables to accessors into ALISTS. ACCESSOR, which should be + an accessor function, is called like (ACCESSOR (ASSOC ..)). - The kwargs are passed as keyword argments to (ASSOC KEY-TERM ALIST ...). + Each member of BINDINGS is either a symbol VAR or a list that + looks like (VAR KEY-TERM . KWARGS). + + KWARGS are passed as keyword argments to (ASSOC KEY-TERM ALIST ...). EXAMPLE: -- cgit v1.2.3