This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: multi-methods?


Yaroslav Kavenchuk wrote:
How it is possible to emulate a multi-methods?

There is some support, though it's not well optimized, and probably has some bugs in it.

Read section "Procedures" in the manual, and specifically
look for 'define-procedure'.

Some example of multi-methods using define-procedure are in
kawa/lib/numers.scm (in the SVN version).
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]