I have found a lot of resources on SO and books but none of them were understandable (enough) for me. I'm trying to iterate through an array with LISP.
Here is how i create my array:
(setf question-array
(make-array '(8 2)
:initial-contents
'((1 "How old are you:")
(2 "Whats your name:")
...)))
But after some research it looks like i should use:
(mapcar (lambda (x)
(print))
'(question-array))
But it only print:
QUESTION-ARRAY
I would like to print each question. So i guess #'second ? What am i missing ?
(More context: My goal is to ask questions to users and store answers somehow to count point at the end.)
Thanks a lot !