[Chicken-users] Question about find-files

2007-11-04 Thread Ivan Raikov
Hi all, I have noticed that the find-files procedure ignores all subdirectories it finds in the target directory, and I wondered why that is, since it is inconsistent with the Unix find command. So is this a bug or a feature? Also, would it be possible to add an option to include dot files, si

Re: [Chicken-users] Re: chicken.pdf

2007-11-04 Thread felix winkelmann
On 11/2/07, naruto canada <[EMAIL PROTECTED]> wrote: > > The full sentence should be: > > (set-describer! `point (lambda (pt o)(print "a point with x=" (point-x > > pt) " y=" (point-y pt > > > > > BTW, what is "o" after "pt" in "(lambda (pt o)" ? > I know what pt is for, but what is "o"? It is

Re: [Chicken-users] heap size or macro problem

2007-11-04 Thread felix winkelmann
Hi, Rick! If you get something like "out of memory - heap full", then this is most likely a FFI-related problem. It happens sometimes that Scheme data objects get corrupted by foreign or lowlevel code and a field that contains the size of an allocated object ends up containing a pointer. On the n

Re: [Chicken-users] Test egg question

2007-11-04 Thread Alex Shinn
> On Nov 4, 2007 12:02 AM, Peter Busser <[EMAIL PROTECTED]> wrote: > > > > I'm writing a number of test cases using the test egg. I would like to use > > the test program for automated testing. Is it possible to know that one of > > the tests failed, so I can exit the program with an error value?

[Chicken-users] chicken bug?

2007-11-04 Thread naruto canada
hi I was cleaning up Grobner Basis library and testing with several implementations, the code runs fine with petite mzscheme and gambit-c: You can download the code here: http://downloads.sourceforge.net/math-linux/grobner-basis.scm a session with gambit-c: [EMAIL PROTECTED]: /build/scheme /usr/

Re: [Chicken-users] does chicken-setup support auto dependency resolution like perl -MCPAN?

2007-11-04 Thread Mario Domenech Goulart
On Sun, 4 Nov 2007 09:00:02 -0800 Kon Lovett <[EMAIL PROTECTED]> wrote: > Maybe. Sometimes egg maintainers forget a dependency. But this will > be clear at runtime. > > Usually you can ignore such messages. Install-time errors are usually caught by the daily salmonella runs (http://chicken.wiki.

Re: [Chicken-users] eggs tutorial

2007-11-04 Thread Ivan Raikov
Hello, If you run chicken-setup without arguments in the directory where your egg resides, your .setup file will be executed, so in this way you can at least make sure your egg is compiled and installed properly. Or did you have some other kind of testing in mind? When you actually have an egg

[Chicken-users] array-lib : prepending unit axes

2007-11-04 Thread Terrence Brannon
i wrote a function to prepend unit axes onto an array. this is oftentimes necessary to get arrays to the same rank before applying some sort of operation to them. if there is a better way to do this, I'm all ears. Please, no comments about my parenthesizing style :) (define prepend-unit-axes (l

[Chicken-users] eggs tutorial

2007-11-04 Thread naruto canada
hi I'm reading the eggs tutorial, is there a place for uploading test eggs to test the entire procedure, I don't want to clutter the trunk with useless test eggs. Or is there a way to test locally. Thanks ___ Chicken-users mailing list Chicken-users@n

Re: [Chicken-users] what is "[synax]"?

2007-11-04 Thread naruto canada
On 11/4/07, Graham Fawcett <[EMAIL PROTECTED]> wrote: > On Nov 3, 2007 1:40 PM, naruto canada <[EMAIL PROTECTED]> wrote: > > > hi > > > > I'm trying to read the foreign code document, what is "[syntax]" that > > appears everywhere? > > [syntax] (foreign-code STRING ...) > > > > Using this case as a

Re: [Chicken-users] what is "[synax]"?

2007-11-04 Thread Graham Fawcett
On Nov 3, 2007 1:40 PM, naruto canada <[EMAIL PROTECTED]> wrote: > hi > > I'm trying to read the foreign code document, what is "[syntax]" that > appears everywhere? > [syntax] (foreign-code STRING ...) Using this case as an example, there is no procedure called "foreign-code". Rather there is

Re: [Chicken-users] does chicken-setup support auto dependency resolution like perl -MCPAN?

2007-11-04 Thread Kon Lovett
On Nov 4, 2007, at 8:32 AM, naruto canada wrote: hi does chicken-setup support auto dependency resolution like perl - MCPAN? when I did: yes "yes" | chicken-setup meta-setup "yes" not needed - use 'chicken-setup -d ...' I saw a lot of warnings about something not installed, or "used bu

[Chicken-users] heap size or macro problem

2007-11-04 Thread Rick Taube
hi ive got a weird bug that i cant figure out. when i boot chicken i trigger a crash depending on whether or not i eval any sexpr before i eval the sexpr i want. my sexpr involves a macro definition called 'go' whose source code is csc'ed and linked into the host C app. when we start chicke

[Chicken-users] does chicken-setup support auto dependency resolution like perl -MCPAN?

2007-11-04 Thread naruto canada
hi does chicken-setup support auto dependency resolution like perl -MCPAN? when I did: yes "yes" | chicken-setup meta-setup I saw a lot of warnings about something not installed, or "used but not imported", etc. Should I worry about those? ___ Chicke

[Chicken-users] cross compilation with 2.7

2007-11-04 Thread john
Hi, I wanted to update my cross compiled Chicken from 2.6 to 2.7 but ran into problems. I attempted a build with PLATFORM=linux but it borks at: gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -c apply-hack.x86.s -o apply-hack.x86.o I am not sure what apply-hack does or what is needed for an

[Chicken-users] stepwise visual execution of functions

2007-11-04 Thread Terrence Brannon
After I develop a function, I want to see what happens to the input data as it hits each step of the function to make sure it is working correctly. For example, in the following function: (define (mraze a) (let* ([unboxed-a (unbox-array a)] [unboxed-l (array->list unboxed-a)] [

Re: [Chicken-users] Style Guide

2007-11-04 Thread Peter Bex
On Sun, Nov 04, 2007 at 07:56:52AM -0500, William Ramsay wrote: > All, > > Is there such a thing as a Chicken/Scheme style guide?Not a book or > tutorial on Scheme syntax.I've been writing code for years and have > used every language from Cobol to Ruby.I think my style is an > amalgam

[Chicken-users] Style Guide

2007-11-04 Thread William Ramsay
All, Is there such a thing as a Chicken/Scheme style guide?Not a book or tutorial on Scheme syntax.I've been writing code for years and have used every language from Cobol to Ruby.I think my style is an amalgam of all the languages I've ever used. Is there a Scheme Way? I've read

Re: [Chicken-users] Test egg question

2007-11-04 Thread Alex Shinn
Hi, On Nov 4, 2007 12:02 AM, Peter Busser <[EMAIL PROTECTED]> wrote: > > I'm writing a number of test cases using the test egg. I would like to use > the test program for automated testing. Is it possible to know that one of > the tests failed, so I can exit the program with an error value? I was