Lisp - consp listp
Posted: Thu Jun 23, 2016 1:38 pm
Hello all,
I'm trying to find a way in order to detect the difference between these 2 forms:
I've tried to use the consp macro or the listp macro in order to be able to highlight these 2 differents forms. Unfortunatelly, the result is always the same T
I think I missed something.
I'm trying to find a way in order to detect the difference between these 2 forms:
Code: Select all
(setq MyLst '(word1 word2))
(cons 'word1 'word2)
I think I missed something.