I was writing CPS code directly with foreign-declare (by studying
compiled output) before discovering the much nicer foreign-primitive. 
It was a good way to learn the internals... ;)

On 5/14/05, felix winkelmann <[EMAIL PROTECTED]> wrote:
> On 5/14/05, Zbigniew <[EMAIL PROTECTED]> wrote:
> > I'm returning multiple values with something like C_values(4, 0, C_k,
> > C_fix(1), C_fix(2)).   Is C_values the right function to call?  It
> > works fine, but I wonder if this is for internal use only.
> 
> No, that's fine. It's rather low-level and will work only in a
> foreign-primitive form (I guess you're doing that, because C_k
> is only defined in such a wrapper). But otherwise it's a
> fitting idiom.
> 
> cheers,
> felix
>


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to