Reputation: 127
I trying to store two colors in list:
(defparameter *colist* '(sdl:*black* sdl:*red*))
Printing sdl:color will return color in sbcl console
(print sdl:*black*) ;;#<LISPBUILDER-SDL:COLOR {1001E980A3}>
But if I try to print color from list I got different result
(print (car *colist*)) ;;LISPBUILDER-SDL:*BLACK*
How can I get from list?
Upvotes: 0
Views: 50
Reputation: 127
As mentioned in first comment it is necessarily to use (list a b c) form.
Upvotes: 1