Re: [Chicken-users] Chicken 2.5 released

2006-10-23 Thread felix winkelmann
On 10/22/06, Andre Kuehne [EMAIL PROTECTED] wrote: Just noticed that chicken.info is gone. Then ChangeLog tells me: Sun Aug 20 22:07:13 CEST 2006 [EMAIL PROTECTED] * expunge chicken.html, chicken.texi, chicken.info, parameters.scm Any particular reason? I found it quite useful. Me too!

Re: [Chicken-users] srfi-85 and srfi-95 eggs

2006-10-23 Thread felix winkelmann
On 10/22/06, John Cowan [EMAIL PROTECTED] wrote: Here are (single-file) eggs for SRFI-85, recursive equivalence procedures, and SRFI-95, simple sort-merge. SRFI-85 has been withdrawn, but there's nothing wrong with it: it provides R6RS-style equality of infinite trees under the name of equiv?,

Re: [Chicken-users] Compiler inlining

2006-10-23 Thread felix winkelmann
On 10/22/06, John Cowan [EMAIL PROTECTED] wrote: I'm thinking of redefining cdr. No, really. What will that cost me at compile time? Does the compiler have hard-wired knowledge of cdr that will have to be modified, or is it treated just like any other known function? Like in the numbers

Re: [Chicken-users] readline: history, empty lines, duplicate lines

2006-10-23 Thread felix winkelmann
Thanks, Toby. Egg is updated. cheers, felix On 10/22/06, Toby Butzon [EMAIL PROTECTED] wrote: Hi, On 10/20/06, Dan [EMAIL PROTECTED] wrote: Another useful thing would be not to save duplicate lines, but it requires marginally more work than just writing this message. I think this

[Chicken-users] symbol-string

2006-10-23 Thread Sven . Hartrumpf
Hi all. Here is an excerpt from a chicken-profile for one of my programs: procedure calls seconds average percent --- ... symbol-compare 1058128414 3467.563

Re: [Chicken-users] symbol-string

2006-10-23 Thread Thomas Chust
On Mon, 23 Oct 2006, [EMAIL PROTECTED] wrote: [...] I looked at the definition of symbol-string and found out that it is not a constant operation (like returning some pointer) but constructs a string. Does anyone have a more efficient comparison of symbols implemented? [...] Hello, as far

Re: [Chicken-users] symbol-string

2006-10-23 Thread Sven . Hartrumpf
Hello Thomas. If you want alphabetic ordering, you should avoid symbol-string, because it copies the name of the symbol to a new string -- this is necessary as Scheme's strings are mutable objects! With some exceptions, like ... symbol-string :-) It is an error to apply mutation procedures

Re: [Chicken-users] symbol-string

2006-10-23 Thread felix winkelmann
On 10/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello Thomas. If you want alphabetic ordering, you should avoid symbol-string, because it copies the name of the symbol to a new string -- this is necessary as Scheme's strings are mutable objects! With some exceptions, like ...

[Chicken-users] Problems compiling several eggs

2006-10-23 Thread Peter Busser
Hi! I have problems compiling the following eggs using Chicken 2.5: unix-sockets srfi-66 tar rlimit spread xosd The problem is the same for all eggs: #! is translated to ! in the C output, and #? to ? in the C output. When I change it to #, the compiliation goes well. I have looked in

Re: [Chicken-users] Problems compiling several eggs

2006-10-23 Thread felix winkelmann
On 10/23/06, Peter Busser [EMAIL PROTECTED] wrote: Hi! I have problems compiling the following eggs using Chicken 2.5: unix-sockets srfi-66 tar rlimit spread xosd The problem is the same for all eggs: #! is translated to ! in the C output, and #? to ? in the C output. When I change it to #,

Re: [Chicken-users] chicken-setup feature request

2006-10-23 Thread felix winkelmann
On 10/23/06, Peter Busser [EMAIL PROTECTED] wrote: Hi! Is it possible to add a command-line switch to chicken-setup to set a root-directory from which all installations are done? This is useful because during package building, the files are installed in a different directory than the root

Re: [Chicken-users] Compiler inlining

2006-10-23 Thread John Cowan
felix winkelmann scripsit: Like in the numbers egg, certain standard procedures are usually inlined. cdr is among these. To disable that, do a (declare (not standard-bindings cdr)) I understand that part now. I'm really more interested in getting the compiler to inline my modified

[Chicken-users] sqlite3 egg problems

2006-10-23 Thread Peter Busser
Hi! The sqlite3 egg has several problems: -X easyffi is missing in the (compile ...) line, which breaks the compilation. It also needs easyffi and tinyclos, but they are not listed in the repository dependency list. Groetjes, Peter. ___

Re: [Chicken-users] sqlite3 egg problems

2006-10-23 Thread felix winkelmann
And once again, thanks (new version uploaded) cheers, felix On 10/23/06, Peter Busser [EMAIL PROTECTED] wrote: Hi! The sqlite3 egg has several problems: -X easyffi is missing in the (compile ...) line, which breaks the compilation. It also needs easyffi and tinyclos, but they are not

Re: [Chicken-users] unbound variable: export

2006-10-23 Thread felix winkelmann
On 10/23/06, Andreas Zwinkau [EMAIL PROTECTED] wrote: On Mon, 23 Oct 2006 08:20:51 +0200 felix winkelmann [EMAIL PROTECTED] wrote: Can you provide the exact compilation instructions you used to build cackle-base.so? Just csc -s cackle-base.scm. I uploaded the relevant files to

[Chicken-users] bug using syntax-case in load'ed files

2006-10-23 Thread Alejandro Forero Cuervo
This is just to report a bug I found in the syntax-case egg. I hope it is not a misundertanding on my case. If I run csi and eval (use html-stream syntax-case srfi-40) (stream-cons foo stream-null) I get Error: unbound variable: stream-cons . I tested under Chicken 2.5.

Re: [Chicken-users] bug using syntax-case in load'ed files

2006-10-23 Thread Alejandro Forero Cuervo
If I run csi and eval (use html-stream syntax-case srfi-40) (stream-cons foo stream-null) I get Error: unbound variable: stream-cons . I found a simpler way to trigger the error. If I do (use srfi-40 syntax-case) (stream-cons foo stream-null) ; , The error

Re: [Chicken-users] bug using syntax-case in load'ed files

2006-10-23 Thread John Cowan
Alejandro Forero Cuervo scripsit: I found a simpler way to trigger the error. If I do (use srfi-40 syntax-case) (stream-cons foo stream-null) ; , Yes, that fails for me too. If you use syntax-case first, it works. -- John Cowanhttp://ccil.org/~cowan [EMAIL PROTECTED] The

Re: [Chicken-users] bug using syntax-case in load'ed files

2006-10-23 Thread felix winkelmann
On 10/23/06, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: This is just to report a bug I found in the syntax-case egg. I hope it is not a misundertanding on my case. If I run csi and eval (use html-stream syntax-case srfi-40) (stream-cons foo stream-null) I get Error:

Re: [Chicken-users] bug using syntax-case in load'ed files

2006-10-23 Thread John Cowan
felix winkelmann scripsit: Sorry, I have no quick-and-easy fix for this. Well, the qe fix seems to be to load syntax-case before srfi-40. Which is equivalent to using -R syntax-case. -- John Cowan [EMAIL PROTECTED] http://ccil.org/~cowan The exception proves the rule. Dimbulbs think: Your

Re: [Chicken-users] bug using syntax-case in load'ed files

2006-10-23 Thread Alejandro Forero Cuervo
felix winkelmann scripsit: Sorry, I have no quick-and-easy fix for this. Well, the qe fix seems to be to load syntax-case before srfi-40. Which is equivalent to using -R syntax-case. Fixing real code affected by a certain bug tends to be far more difficult than fixing a specific examples

Re: [Chicken-users] bug using syntax-case in load'ed files

2006-10-23 Thread felix winkelmann
On 10/24/06, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: In this case, like I said in my original mail, my require-extension expresions are scattered across multiple files that get loaded at run-time in an unpredictable order and just some of them require syntax-case. Why, even if the