[Bese-devel] method combination

R. Joseph Wright joseph at mammalia.net
Wed Aug 10 19:56:54 UTC 2005


On Aug 9, 2005, at 9:07 PM, Larry D'Anna wrote:

> here's standard method combination for the interpreter.  Also adds  
> &rest support.

Can you explain this part?

 >(defparameter *c* nil)
 >
 >defmethod/cc supercool :before (x)
 >  (print 'before)
 >  (let/cc k (setq *c* k)))
 >
 >(with-call/cc
 >  (supercool 7))
 >
 >;IPRE
 >;PRE
 >;BEFORE
 >
 >(kall *c*)
 >
 >;1007
 >;2007
 >;AFTER
 >;POST
 >;IPOST

(\_/)  Joseph
(o,o)  Those are my principles.  If you don't like them I have others.
()_()   --Groucho Marx
  " "




More information about the bese-devel mailing list