Re: [Chicken-users] Re: photo album in chicken

2006-05-01 Thread Peter Busser
Hi! Well, which one are you actually using? I don't know about old-school vi or nvi or any of the other vi clones, but vim has a perfectly good scheme mode which will help you get the indenting right. I know how vim can auto-indent code. But does anyone know how to make vim indent Scheme

Re: [Chicken-users] Re: photo album in chicken

2006-05-01 Thread Sven . Hartrumpf
Mon, 1 May 2006 08:01:20 +0200, peter wrote: I know how vim can auto-indent code. But does anyone know how to make vim indent Scheme code after pieces have been deleted? Mark region (for example hit V and move to other end), then hit = Ciao Sven pgpSXmv8zBTVQ.pgp Description: PGP signature

Re: [Chicken-users] manual typo (broken link)

2006-05-01 Thread felix winkelmann
Thanks, Dan. The HTML documentation at the web-site is only updated on every major release (that typo has already been fixed). cheers, felix On 4/27/06, Dan [EMAIL PROTECTED] wrote: http://www.call-with-current-continuation.org/manual/Non-standard-macros-and-special-forms.html contains the

Re: [Chicken-users] Chicken 2.3 - How to compile statically with eggs?

2006-05-01 Thread felix winkelmann
On 4/27/06, Samuel Jenkins [EMAIL PROTECTED] wrote: Hi all! First of all... I've ported the Chicken runtime to the handheld Linux console Gamepark Holdings GP2X-F100. But my cross-compiler (gcc 4.0.2) has a different libc than the GP2X firmware, so to get my executables to run in the console I

Re: [Chicken-users] srfi-2 and csc

2006-05-01 Thread felix winkelmann
This patch to parameters.scm should fix the problem: % darcs diff parameters.scm 110c110 '(chicken srfi-23 srfi-30 srfi-39 srfi-6 srfi-10 --- '(chicken srfi-23 srfi-30 srfi-39 srfi-6 srfi-10 srfi-2 cheers, felix On 4/27/06, Dan [EMAIL PROTECTED] wrote: Hi, the following x.scm

Re: [Chicken-users] vector-lib egg: vector-fold-right bug fix

2006-05-01 Thread felix winkelmann
Thanks, Dan - a new egg will be uploaded in a moment. cheers, felix On 4/30/06, Dan [EMAIL PROTECTED] wrote: Hi all, vector-fold-right in the vector-lib egg is broken (the loop index starts at n-1 but is incremented, instead of decremented). To fix, change the (+ i 1) lines to (- i 1) in the

Re: [Chicken-users] Re: photo album in chicken

2006-05-01 Thread felix winkelmann
On 4/30/06, Ashish Shrestha [EMAIL PROTECTED] wrote: Editing scheme code: Yes, I am hand-indenting and most probably don't have the indenting correct. I did try emacs but went back to vi/vim because of two reasons. First, vi/vim is available in most Linux (I use gentoo on my server) and Mac

Re: [Chicken-users] Linux User Review of Chicken

2006-05-01 Thread felix winkelmann
On 5/1/06, Bob McIsaac [EMAIL PROTECTED] wrote: Linux User has a review of the Chicken Scheme Compiler/Interpreter. There is only 1.5 pages of text with a barely readable small green font on black screendump. Not much to impress someone unfamiliar with Lispy languages. However, I did the see

Re: [Chicken-users] (use syntax-case) in included file - error

2006-05-01 Thread felix winkelmann
On 4/27/06, Dan [EMAIL PROTECTED] wrote: Hi all, the following sources yield a misterious Error: syntax error - illegal atomic form `()' csc error Hi, Dan! The problem is that the `include' expanding the included file is an implementation using the low-level macro system. If you have

Re: [Chicken-users] pathname-normalize

2006-05-01 Thread Kon Lovett
On Apr 30, 2006, at 10:45 PM, Reed Sheridan wrote:From: Kon Lovett [EMAIL PROTECTED] Subject: Re: [Chicken-users] Re: photo album in chickenTo: chicken chicken-users@nongnu.orgMessage-ID: [EMAIL PROTECTED]Content-Type: text/plain; charset="us-ascii"snipThat looks good, except for one thing:

Re: [Chicken-users] Re: photo album in chicken

2006-05-01 Thread Graham Fawcett
On 5/1/06, Peter Busser [EMAIL PROTECTED] wrote: Is it possible to call a C function when data is destroyed during garbage collection? In that case, one could create a Scheme type which encapsulates the pointer to the Imlib data. When an object of that type is destroyed, the hook can be called,

[Chicken-users] Re: array-lib and csc -- tried on fresh chicken install

2006-05-01 Thread Kon Lovett
On May 1, 2006, at 4:54 AM, felix winkelmann wrote: This seems to help for me. Kon: is this correct? Yes. Current release is 1.2. (Fixed the below earlier, but later than 0.8, Sorry, I thought the relationship require-at-runtime was transitive.) For now, if people only need the

Re: [Chicken-users] Re: photo album in chicken

2006-05-01 Thread Kon Lovett
On Apr 30, 2006, at 10:59 PM, Peter Busser wrote: Hi! snip Imlib:destroy: I think auto-destroy of garbage images would be really nice. When working in scheme you definitely forget managing resources. May be if it were C I would think of imlib:destroy but with scheme it never occured to me

[Chicken-users] Re: pathname-normalize

2006-05-01 Thread Reed Sheridan
From: Kon Lovett [EMAIL PROTECTED] Not to beat a dead horse but I thought people might be interested. I timed the performance of 1 runs of 'pathname-normalize' using the 2 impls below. (Ignore the reverse! absolute-pathname for now.) (define (pathname-normalize1 path) (let loop

Re: [Chicken-users] pathname-normalize

2006-05-01 Thread Thomas Chust
On Mon, 1 May 2006, Reed Sheridan wrote: [...] Also, the implementation of absolute-path? has a bug. It returns #t for a pathname starting with windows-style drive letters, but in Unix, A:/foo is a perfectly valid relative pathname. I'm not sure how to conditionalize Chicken code for

[Chicken-users] Chicken on OS X

2006-05-01 Thread Dinesh Nadarajah
Hi all: I am new to this list. I have looked into Chicken Scheme some time back and would liek to do a very small project in it. The only problem is that I use OS X. I installed Chciken using darwin prots and it installed version 2.3 but for some reason it did not install the FFI portion. Some