Re: [Chicken-users] various questions

2007-01-11 Thread Peter Busser
Hi! Is it possible to require-extension on different extensions but each of them having the same exported functions, for example by putting explicitly the extension in a namespace when requiring it ? No, you would have to use a module system (like provided by syntax-case, for example).

Re : [Chicken-users] various questions

2007-01-11 Thread minh thu
Is there support for choosing a version of an extension, for example if the new version deprecates something my application uses ? No, this is currently not possible. Something like this is possible, if you name the extensions carefully. I have done something like that. I used require to

Re: [Chicken-users] RedHat and Debian packages

2007-01-11 Thread Harri Haataja
On 07/01/07, Peter Busser [EMAIL PROTECTED] wrote: On Sat, Jan 06, 2007 at 12:52:11PM +0100, Peter Bex wrote: On Fri, Jan 05, 2007 at 01:15:08PM -0800, Brandon J. Van Every wrote: But the clear disadvantage is it's only applicable to Debian systems. Still, I'll wager that nobody has a

Re: [Chicken-users] 256th egg: sqlora by Graham Fawcett

2007-01-11 Thread Harri Haataja
On 11/01/07, Brandon J. Van Every [EMAIL PROTECTED] wrote: Graham Fawcett wrote: On 1/10/07, Peter Busser [EMAIL PROTECTED] wrote: What about this: A random selected person of the group of people who added an egg during 3 months. Or 4 months or whatever period of time. That means that

[Chicken-users] development snapshot: 2.514

2007-01-11 Thread felix winkelmann
Hi! A snaphot of the current development version (2.514) is now available on the chicken homepage. This is the first tarball generated with cmake. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

[Chicken-users] Embedding example from manual

2007-01-11 Thread john
I pasted in the first example in http://galinha.ucpel.tche.br/Embedding to try out. The define-external is missing a closing bracket and I think it needs a (return-to-host) at the end. (define (bar x) (gc) (* x x)) (define-external (baz (int i)) double (sqrt i)) (return-to-host) I wanted to

Re: [Chicken-users] Embedding example from manual

2007-01-11 Thread felix winkelmann
On 1/11/07, john [EMAIL PROTECTED] wrote: I pasted in the first example in http://galinha.ucpel.tche.br/Embedding to try out. The define-external is missing a closing bracket and I think it needs a (return-to-host) at the end. (define (bar x) (gc) (* x x)) (define-external (baz (int i)) double

[Chicken-users] csi scripts

2007-01-11 Thread Mario Domenech Goulart
Hello, At http://chicken.wiki.br/writing%20portable%20scripts we have a section called Writing portable scripts with env whose instructions doesn't seem to be very portable. At least it doesn't work on my system: $ ./s.scm /usr/bin/env: csi -s: No such file or directory $ cat s.scm #!

[Chicken-users] Wrong function wrapped by the mathh egg

2007-01-11 Thread Thomas Chust
Hello, I just wrote a few statistical functions and realized that under Linux gamma and tgamma compute the logarithm of the gamma function (like lgamma) and under MacOS X gamma and tgamma correctly compute the gamma function. This is not really a bug in the egg itself but has to do with

[Chicken-users] Mac OS X: chicken-setup's access to fink-installed libraries

2007-01-11 Thread Stephen C. Gilardi
I use Fink (http://fink.sourceforge.net) to access ports of many packages to Mac OS X. Fink stores the software it installs in the / sw tree (/sw/include, /sw/lib, etc). Currently it appears that chicken-2.5 (in particular chicken-setup) doesn't know about /sw as a hierarchy (fair enough)

Re: [Chicken-users] Mac OS X: chicken-setup's access to fink-installed libraries

2007-01-11 Thread Peter Bex
On Thu, Jan 11, 2007 at 01:20:50PM -0500, Stephen C. Gilardi wrote: Questions: [1] Is there a way to configure chicken to provide additional library search paths (and include file search paths)? [2] Alternatively, can chicken be made to know that on Mac OS X (Darwin), if /sw exists,

Re: [Chicken-users] Mac OS X: chicken-setup's access to fink-installed libraries

2007-01-11 Thread Peter Bex
On Thu, Jan 11, 2007 at 03:14:08PM -0500, Stephen C. Gilardi wrote: Thanks for the info. It appears that csc offers the options I need -I/sw/include -L/sw/lib, but chicken (according to The User Manual and chicken -help) doesn't. When I include these in CHICKEN_OPTIONS, chicken

Re: [Chicken-users] Mac OS X: chicken-setup's access to fink-installed libraries

2007-01-11 Thread Stephen C. Gilardi
On Jan 11, 2007, at 3:39 PM, Peter Bex wrote: On Thu, Jan 11, 2007 at 03:14:08PM -0500, Stephen C. Gilardi wrote: Thanks for the info. It appears that csc offers the options I need -I/sw/include -L/sw/lib, but chicken (according to The User Manual and chicken -help) doesn't. When I include