Use cadr instead of first and last
This commit is contained in:
parent
1046ddf1dc
commit
04efec756c
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ Returns multiple values:
|
|||
- The group name (GROUP)
|
||||
- The choices (CHOICES)"
|
||||
(let ((splitted-list (split-list-by-keyword question)))
|
||||
(apply #'values (mapcar (lambda (x) (first (last x))) splitted-list))))
|
||||
(apply #'values (mapcar (lambda (x) (cadr x)) splitted-list))))
|
||||
|
||||
(defmacro questionnaire (action &body body)
|
||||
"This macro generates an HTML form composed of multiple questions, each rendered using the `question' macro.
|
||||
|
|
Loading…
Add table
Reference in a new issue