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

alex crain alexcrain at mail.widgetworks.com
Wed Jan 26 02:25:09 UTC 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