[Openmcl-devel] Class redefinition demo
Ron Garret
ron at awun.net
Sat Jun 6 10:01:10 PDT 2009
For those of you playing with RMCL, there's a bug that causes class
redefinition not to work properly. Gary has produced a patch, which
is at
ftp://clozure.com/pub/rmcl-updates
Because I'm allergic to FTP, a stripped-down version of the patch is
included in this email which you can just load into RMCL. No need to
rebuild the app if you don't want to.
This patch has allowed me to resurrect my favorite Lisp demo of all
time, which is also attached. It's called draggable, and it's a
dramatic illustration of the power of class redefinition. Load the
demo. It will open a window with a bunch of text objects. Click on
them and try to drag them around and observe that nothing happens.
Now evaluate the first of the commented-out lines at the bottom of the
file and try dragging them around again. Now evaluate the second line
and repeat.
Let's see someone do *that* in Python!
Enjoy!
rg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090606/4bab51d2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmcl-clos-patch.lisp
Type: application/octet-stream
Size: 1746 bytes
Desc: not available
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090606/4bab51d2/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090606/4bab51d2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: draggable.lisp
Type: application/octet-stream
Size: 1871 bytes
Desc: not available
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090606/4bab51d2/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20090606/4bab51d2/attachment-0002.htm>
More information about the Openmcl-devel
mailing list