[Chicken-users] Returning a value from foreign-lambda*

2007-08-28 Thread Will M Farr
Hello all, In my copy of chicken (SVN, revision 5752), the way to return an object at the end of a foreign-lambda* is by using return(obj). The wiki manual, however, says that I should use C_return(obj), as in (define my-strlen (foreign-lambda* int ((c-string str)) int n = 0;

Re: [Chicken-users] Returning a value from foreign-lambda*

2007-08-28 Thread Zbigniew
This is strange. What it used to say, at some point, was that the argument to return had to be wrapped in parentheses, i.e. return(x). That's because return() itself is a macro which does all the proper cleanup and calls the current continuation. C_return() is just an alias to the return()

[Chicken-users] Request for pairing-heap egg SVN area

2007-08-28 Thread Will M Farr
Hello, Could I have an SVN setup for an egg named pairing-heap I already have an SVN account (under wmfarr). The pairing-heap egg will provide an adaptive, persistent heap datastructure; you can see the documentation (already in the wiki) at http:// galinha.ucpel.tche.br/pairing-heap .

Re: [Chicken-users] Request for pairing-heap egg SVN area

2007-08-28 Thread Mario Domenech Goulart
Hi Will, On Tue, 28 Aug 2007 13:30:18 -0400 Will M Farr [EMAIL PROTECTED] wrote: Could I have an SVN setup for an egg named pairing-heap Sure! It's done. I already have an SVN account (under wmfarr). The pairing-heap egg will provide an adaptive, persistent heap datastructure; you can