I made a database named db. db contains lists.
db = ((a list)(a list)(a list))
a list = (:Question question :Answer answer)
How can I print the question only and not the answer.
(car (car db)) gives me "QUESTION" and not the data in question.
I am pretty new to LISP so, yeah...
Even better then 2 cars would be a way to say (car (db:Question) or something.
What i really want to do is
(dolist (data db:question)
(do something))
Thanks
db = ((a list)(a list)(a list))
a list = (:Question question :Answer answer)
How can I print the question only and not the answer.
(car (car db)) gives me "QUESTION" and not the data in question.
I am pretty new to LISP so, yeah...
Even better then 2 cars would be a way to say (car (db:Question) or something.
What i really want to do is
(dolist (data db:question)
(do something))
Thanks