[Openmcl-devel] Why doesn't #$ eval at read time?

alex crain alexcrain at mail.widgetworks.com
Tue Jan 25 18:25:09 PST 2005


I just discovered that this doesn't work....

(case event-type
	(#$NSLeftMouseDragged
	 (stuff...))
          (#$NSLeftMouseUp
           (more-stuff...)))

because it expands to

...
(COND ((EQ #:G7256 'OS::|NSLeftMouseDragged|))
....

Since everything referenced by #$ is a constant (I think),
why not just make the #$ macro behave like #.#$ all the
time?

:alex




More information about the Openmcl-devel mailing list