[Chicken-users] array-lib : how to make a rank-1 array with no elements?

2007-10-11 Thread Terrence Brannon
I tried a few things, but couldnt get it to work (array '#() '(1)) ; Error: (array) wrong number of elements to construct array (make-array '#() '(1)) ; Error: (vector-ref) out of range ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] xml-rpc: typo in .setup

2007-10-11 Thread Sven . Hartrumpf
Thu, 11 Oct 2007 13:41:28 +0200 (CEST), Sven.Hartrumpf wrote: Could anybody correct xml-rpx.html to xml-rpc.html BTW: The second example in this file does not work for me: hello.scm starts correctly (using: csi -script hello.scm ), but the client crashes: (require-extension

Re: [Chicken-users] xml-rpc: typo in .setup

2007-10-11 Thread Mario Domenech Goulart
Hi Sven, On Thu, 11 Oct 2007 13:41:28 +0200 (CEST) [EMAIL PROTECTED] wrote: Could anybody correct xml-rpx.html to xml-rpc.html in xml-rpc.setup? Otherwise the documentation will not be installed. Done. Best wishes, Mario ___ Chicken-users

[Chicken-users] numbers egg - (angle y) feedback

2007-10-11 Thread Terrence Brannon
I tried to re-open the ticket on trac, but was told my submission was potential spam. The (angle) function does not coredump. But it gives a result of 0.0 for an argument of 2, which I do not think is correct. The same function in J gives -0.416147+0.909297i Here is a link to the J function,

Re: [Chicken-users] numbers egg - (angle y) feedback

2007-10-11 Thread Zbigniew
I believe you are misunderstanding what angle is supposed to do. ANGLE should return 0 (positive reals) or pi (negative reals) when its argument has a zero imaginary component. The R5RS is abundantly clear that the result of angle is a real number x s.t. -pi x = pi. The current behavior of

Re: [Chicken-users] currency-converter.egg

2007-10-11 Thread felix winkelmann
On 10/9/07, Jean-Philippe Théberge [EMAIL PROTECTED] wrote: In my process of learning the chicken way I have made an egg out of a simple but useful currency converter. [procedure] (currency-convert FROM TO AMOUNT #:table #:format?) (currency-convert 'USD 'EUR 45.34) = 32.03