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] |
>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? The quick answer is: Returning multiple values is to returning a single list of values as passing multiple arguments is to passing a single list of arguments. The idea is that return values are symmetrical with passed values. One would expect to return them in registers, for example. For more details, see Pavel Curtis's column (about 7 pages): ftp://ftp.cs.indiana.edu/pub/scheme-repository/doc/prop/records-mvalues.ps.gz