This is the mail archive of the kawa@sources.redhat.com 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: define-values


Steve Yegge wrote:

...
And in any case, the macro only works for top-level definitions, not
internal ones (according to the FAQ).

I'm fairly sure that macro is no good. It seems pretty clear the 'var' symbol is getting mixed up with 'values' at least. Also the conflict in binding contexts (need to bind to get to the values but want to creat a top-level definition) seems pretty tough (although I'm sure some syntax guru can figure something out probably using set!).


Would it be worthwhile to add an implementation of define-values to Kawa?

I think the useful macro is receive:


http://www.gnu.org/software/kawa/Multiple-values.html#Multiple%20values
http://srfi.schemers.org/srfi-8/srfi-8.html

Jim


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