I'm trying to compare (quote foo)
with 'foo
using equal, but the equality is failing. Here is a trace of what is happening with my code. I don't understand why the comparison fails -- does it have something to do with the reader, or chained evaluation?
How can write the code to make the comparison succeed? Thanks
(plist-get (gethash "key" table) 'type)
(quote ctkb)
(equal 'ctkb (quote ctkb))
t
(equal 'ctkb (plist-get (gethash "key" table) 'type))
nil