[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] MV in foreign-lambdas

From: tonyg
Subject: Re: [Chicken-users] MV in foreign-lambdas
Date: Mon, 7 Oct 2002 21:50:10 +0100
User-agent: Mutt/1.2.5i

> The paradox with the above question is that since C doesn't have
> multiple return values, the *only* way you can get multiple values back
> is through the pass by reference mechanism. Because these two concepts
> are not seperated in C, you cannot seperate them in the scheme interface
> to it either.

Good point. What about having the equivalent of IN/OUT/INOUT in CORBA
IDL (and other languages which I forget)?

For foreign-lambda*, again, it makes no difference - declare both a
parameter and a result for the one you want to be inout - but for
foreign-lambda, if you said #:out, it could be a pure result, and
#:inout it could be both a parameter and a result...?

Monkeys high on math -- some of the best comedy on earth
        - Tom Lord, regarding comp.lang.scheme

reply via email to

[Prev in Thread] Current Thread [Next in Thread]