This is the mail archive of the guile@cygnus.com mailing list for the guile project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Help! As someone who hasn't had years of coding in scheme I have to ask:
What's the significant difference between returning "multiple values" and
returning a list of s-expressions in a manner that the calling function
should be able to decode?
Why's it desireable? What does it win? What does it lose?
-Peter
On Thu, 5 Feb 1998, Jim Blandy wrote:
>
> >Don't you know? We don't make estimates, because GNU is a non-prophet
> >organization!
>
> Actually, this is a slightly rude answer for me to offer, because I
> think Sascha was asking for a specific reason. Sorry about that.
>
> For Gtk's purposes, I would just have your functions return lists of
> values for now. There's no reason to hold up Gtk development waiting
> for language features to get implemented.
>
--
A tribute to modern technology (DON'T DO THIS)
char hang[] = { 0xf0, 0x0f, 0xc7, 0xc8 };
int main() { void (*k)() = hang; k(); }
/* As an exercise left to the reader, embed this in a ActiveX app */
Disclaimer: I do not speak for my employer.