Re: [Chicken-users] compiling chicken on windows

2007-12-09 Thread Elf
what version are you running against? mingw wont necessarily work on anything but svn head. -elf On Sat, 8 Dec 2007, Marc-Antoine Desroches wrote: Hello, I'm trying to setup chicken on windows xp, with no luck. mingw32-make.exe PLATFORM=mingw mingw32-make.exe -f Makefile.mingw all

Re: [Chicken-users] Using Format

2007-12-06 Thread Elf
there is with eformat, but not with format. sending eformat to you separately, since its not yet in final form. -elf On Wed, 5 Dec 2007, William Ramsay wrote: Is there an easy way to format a number with a possible leading zero using format or sprintf? In other words I want 9 to show us

Re: [Chicken-users] chicken scheme + gui on Nokia n800 or n810?

2007-12-06 Thread Elf
heh, are the n810s out yet? i wanted to get one and port chicken to it as my new organiser... -elf On Wed, 5 Dec 2007, Matthew Welland wrote: Has anyone attempted this? Which gui (if any) works? I see this: http://zedstar.org/blog/2007/11/07/latest-chicken-scheme-packaged-for-openmoko

Re: [Chicken-users] Problem installing silex egg

2007-12-03 Thread Elf
first, please redownload and install the egg. second, for the installation, do chicken-setup -k silex , and send the generated .c file please? thanks. -elf On Mon, 3 Dec 2007, Kevin Hammack wrote: I downloaded the latest chicken release and compiled it on my PowerBook running 10.4.11

Re: [Chicken-users] Using xlib egg

2007-11-25 Thread Elf
gdk display != x display -elf On Sun, 25 Nov 2007, William Ramsay wrote: Hi, Can anyone explain why I'm getting a segmentation fault when I run the following code: (require-extension xlib) . (let* ((disp (gdk_display_get_default)) (cmap (xdefaultcolormap disp 0

Re: [Chicken-users] build on Windows with cygwin

2007-11-20 Thread Elf
i cant! im on a dynamic ip and your box blocks my direct mails. :( -elf On Tue, 20 Nov 2007, felix winkelmann wrote: On Nov 20, 2007 7:43 AM, Elf [EMAIL PROTECTED] wrote: i have a working cygwin compile, but i'm still not quite sure how it happened. the targz with the modifications

Re: [Chicken-users] build on Windows with cygwin

2007-11-19 Thread Elf
i have a working cygwin compile, but i'm still not quite sure how it happened. the targz with the modifications to the various files and built objects is too large to attach to a trac ticket. -elf On Mon, 19 Nov 2007, Terrence Brannon wrote: On Oct 2, 2007 1:41 AM, felix winkelmann [EMAIL

Re: [Chicken-users] Removal of deprecated features

2007-11-19 Thread Elf
are not deprecated), so we can avoid eggs breakage when the current trunk becomes the stable release. quick question, then. what ARE the alternate procedures for the deprecated ones, as i can't seem to find any reference to similar functionality in the docs, wiki, or a quick grep of the source... -elf

Re: [Chicken-users] Re: Style Guide

2007-11-07 Thread Elf
On Wed, 7 Nov 2007, Benedikt Rosenau wrote: On Tue, Nov 06, 2007 at 08:47:25PM -0800, Elf wrote: really, it doesnt matter. theres plenty of code with both, its entirely a personal preference issue. Well, not exactly the question asked, but something I learned from reading Chicken's

Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-26 Thread Elf
(foreign-lambda int daemon int int) , but thats just me.) -elf On Fri, 26 Oct 2007, Thomas Christian Chust wrote: Ozzi wrote: I am working on for creating unix daemons. Can anyone tell me how to redirect stdout and stderr? I want to redirect them to /dev/null by default. Hello

Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-26 Thread Elf
grok that. im trying to get chicken working in visual studio. this does not rate amongst the 'fun' things i have done. yay work requiring ms os. -elf On Fri, 26 Oct 2007, Alex Queiroz wrote: Hallo, On 10/26/07, Elf [EMAIL PROTECTED] wrote: heh, none of these are going to work

Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-26 Thread Elf
On Fri, 26 Oct 2007, Thomas Christian Chust wrote: Elf wrote: um, why not just use (duplicate-fileno (portfileno port)) ? [...] Because not the file descriptor of a given port should be duplicated but rather the file descriptor of a given port should be replaced by a duplicate of another

Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-26 Thread Elf
for potential converts, and has the highest visibility for ALL distributions. (go to the page for any given distrib, and some subset of the above will be displayed most prominently under 'features', along with whatever library/module system they use.) /rant sorry. :) -elf On Fri, 26 Oct 2007, Alex

Re: [Chicken-users] Chicken on PPC macs?

2007-10-17 Thread Elf
code, if i understand properly, but i avoid it all in favour of 'unhygenic' macros, which at least behave more or less consistently across implementations and dont bloat. -elf On Wed, 17 Oct 2007, Ozzi wrote: I've got an older G3 iBook that I'm trying to get Chicken working on in preparation

Re: [Chicken-users] inlining

2007-09-13 Thread Elf
heh, the docs are wrong then. i was going to post inline-limit to inline, but according to the pdf, inline-limit only applies if inline is also given. -elf On Thu, 13 Sep 2007, felix winkelmann wrote: On 9/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all. Why do all the following

Re: [Chicken-users] inlining

2007-09-12 Thread Elf
. or perhaps theres a (declare (inline)) in the source. -elf On Wed, 12 Sep 2007 [EMAIL PROTECTED] wrote: Hi all. Why do all the following commands produce identical binaries (using chicken's svn version)? 1. csc -d0 -disable-interrupts -disable-stack-overflow-checks -feature srfi-1 -inline -inline

Re: [Chicken-users] A scheme library for J programming is not re-inventing the wheel is it?

2007-09-11 Thread Elf
WHY are you studying apl? if you want monadic programming, use haskell. -elf On Tue, 11 Sep 2007, felix winkelmann wrote: On 9/11/07, Terrence Brannon [EMAIL PROTECTED] wrote: I've been a fan of J for a long time, and have an implementation of monadic array processing in J fashion finished

Re: [Chicken-users] highlevel macros are not supported error

2007-09-10 Thread Elf
have you put in (use syntax-case) already? -elf On Sun, 9 Sep 2007, Terrence Brannon wrote: When I attempt to use pos.scm I get this error - #;9 ; loading /usr/local/lib/chicken/1/pos.scm ... Error: (define-syntax) during expansion of (define-syntax ...) - highlevel macros

Re: [Chicken-users] highlevel macros are not supported error

2007-09-10 Thread Elf
i'm not entirely sure i follow what youre asking. i think proper define-syntax support would be nice (with syntax-rules, im ambivalent on syntax-case), but i understand why its not there. unless the generation code is highly optimised, they tend to be a lose anyway... -elf On Mon, 10 Sep

Re: [Chicken-users] BOM in a Scheme source file

2007-09-09 Thread Elf
. assuming wikipedia can be trusted. at least its sourced in this case. -elf On Sat, 8 Sep 2007, Graham Fawcett wrote: On 9/8/07, Pierpaolo Bernardi [EMAIL PROTECTED] wrote: UTF8 has no BOM. A BOM in a utf8 file should be there only if you put it there. Not true. http://en.wikipedia.org/wiki

Re: [Chicken-users] BOM in a Scheme source file

2007-09-09 Thread Elf
. In particular, whenever a data stream is declared to be UTF-16BE, UTF-16LE, UTF-32BE or UTF-32LE a BOM must not be used. See also [ why not fix scite to not put in chars it shouldnt? -elf On Sun, 9 Sep 2007, Pierpaolo Bernardi wrote: On 9/9/07, Graham Fawcett [EMAIL PROTECTED] wrote

Re: [Chicken-users] BOM in a Scheme source file

2007-09-09 Thread Elf
: is it possible to read the unicode strings from a different file in windows with the bom? using the BOM as a recognition is considered broken behaviour, in general, for utf-8. -elf On Sun, 9 Sep 2007, Shawn Rutledge wrote: On 9/8/07, Elf [EMAIL PROTECTED] wrote: and does not state anything

Re: [Chicken-users] Re: synonyms for module sought

2007-09-08 Thread Elf
has anyone suggested 'coop' yet? after all, coops are often modular and theyre useful for keeping chickens and eggs... -elf (and i know im boring, but i think that 'module' would be just fine. :) ) ___ Chicken-users mailing list Chicken-users

Re: [Chicken-users] synonyms for module sought

2007-09-07 Thread Elf
are you refactoring the module system? if so, why not just 'module'? module is good and clear. if you want it to be chicken-specific, how about 'carton' or 'crate'? (those being enclosures for eggs) -elf On Fri, 7 Sep 2007, felix winkelmann wrote: IHi! could came up with these, so

Re: [Chicken-users] help needed on egg repository maintenance

2007-08-23 Thread Elf
i'd be happy to put the time in if we can discuss it a bit more. i already have ~80% of the eggs installed locally so its to my benefit as well. :) -elf On Thu, 23 Aug 2007, felix winkelmann wrote: Hello, everybody. The time has come again, where I'm getting down on my knees humbly

Re: [Chicken-users] Seed thought: perl/ruby dbi equivalent for scheme/chicken?

2007-08-11 Thread Elf
it might be beneficial to review oleg's site... he has a lot of good stuff on db interfaces and abstraction in scheme. (and iirc, has one or more pure scheme relational db implementations available.) -elf On Sat, 11 Aug 2007, Matthew Welland wrote: First off, my heartfelt thanks

Re: [Chicken-users] wxWidgets

2007-08-05 Thread Elf
ive not seen any ftlk apps, and the library from my readings is very limited. i have seen many wx apps, and despite being horrible code (in many cases) the ui still works more or less as expected. -elf On Tue, 31 Jul 2007, Harri Haataja wrote: On 09/07/07, Adhi Hargo [EMAIL PROTECTED] wrote

Re: [Chicken-users] wishlist: http egg

2006-12-25 Thread elf
what do you need it to do? just parse http headers or general content-type dispatching with useful plugins? -elf On Mon, 25 Dec 2006, Daishi Kato wrote: - Support for multipart/* content-types. (especially for multipart/form-data) I was trying to write a content-parser, which turned

Re: [Chicken-users] Date/time problem (my code I am sure)

2006-12-22 Thread elf
yes, apologies. ill find it and send it shortly. On Fri, 22 Dec 2006, felix winkelmann wrote: On 12/22/06, elf [EMAIL PROTECTED] wrote: the problem is in the module itself. i have a fix for it. the months are borked (zero vs one indexing) and other such loveliness. Would you

Re: [Chicken-users] Date/time problem (my code I am sure)

2006-12-21 Thread elf
the problem is in the module itself. i have a fix for it. the months are borked (zero vs one indexing) and other such loveliness. -elf On Wed, 20 Dec 2006, Jeremy Cowgar wrote: I have written a few functions to help me in dealing with dates and times. vector-date was created because

Re: [Chicken-users] Integrating unit tests into source code

2006-12-14 Thread elf
to implement as a macro. -elf On Thu, 14 Dec 2006, felix winkelmann wrote: Hi! While reading a bit about doctest (the Python utility), I thought it would be relatively easy to support embedded documentation in definitions, like: (define (foo ...) '(test (...)) body...) The basic idea

Re: [Chicken-users] Chicken logos!

2006-12-14 Thread elf
wasnt actually me, it was my gf sarah, a librarian and graphic artist and novice programmer who im teaching using chicken :) -elf On Thu, 14 Dec 2006, felix winkelmann wrote: Hi, everybody! Here a few cool chicken logos: http://www.call-with-current-continuation.org/schemechicken.png

Re: [Chicken-users] Chicken logos!

2006-12-14 Thread elf
heh, no, im definitely not the same elf. i use vi, for one. :) -elf On Thu, 14 Dec 2006, Ivan Raikov wrote: I take it you are not the same elf who designed the Emacs Gnus logo? Because I think that this new Chicken logo can be simplified greatly, along the lines of the Emacs Gnus logo

Re: [Chicken-users] Re: sqlite3 issues

2006-11-11 Thread elf
On Fri, 10 Nov 2006, Thomas Christian Chust wrote: elf wrote: erm... the require-extension area is commented out, iirc. and its oke to have (use blah) outside of a declare along with a (uses) inside Hello, the answer is no twice -- you commented out require-extension but replaced

Re: [Chicken-users] Re: sqlite3 issues

2006-11-09 Thread elf
against? -elf On Thu, 9 Nov 2006, Thomas Christian Chust wrote: elf wrote: the thing that got it to work (the others are mostly incidental except for initialize) was changing the require-extension format used in the file. basically, i was shotgunning it, because it would kill the interpreter

Re: [Chicken-users] Map with Chicken users

2006-11-09 Thread elf
erm, from the website, once i do an edit, it doesnt seem to want to go back to normal display mode. -elf On Thu, 9 Nov 2006, Alejandro Forero Cuervo wrote: Hello. I'm starting to generate a world map with the locations of Chicken users. You can see it here: http://chicken.wiki.br

Re: [Chicken-users] Chicken wiki vandalized yet again

2006-11-08 Thread elf
would think... -elf On 7 Nov 2006, Mario Domenech Goulart wrote: Hello John and folks, On Tue, 7 Nov 2006 17:51:56 -0500 John Cowan [EMAIL PROTECTED] wrote: We desperately need to freeze the home page of the Chicken wiki on galinha. Can whoever administers that server do so? What do

Re: Re: [Chicken-users] chicken.wiki.br

2006-11-08 Thread elf
) (if (= 0 pl) (if (= op 3) c n1) n2)a) an))) would be a simple arithmetic generator. (apologies for any errors and for the formatting, i didnt want it to take a whole page properly formatted, and i just wrote this on the fly, so there may be a few bugs) -elf On Tue, 7 Nov 2006

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread elf
and it doesnt notify at compile time that theyre not there) -elf On Wed, 8 Nov 2006, Thomas Christian Chust wrote: elf wrote: if sqlite3 itself is compiled in threadsafe mode, the egg will cause an immediate crash. [...] Oops. On which system does it do that, which versions of SQLite3

Re: [Chicken-users] Re: sqlite3 issues

2006-11-08 Thread elf
. there also seems to be some degree of confusion involving the (unit) declaration, the register-feature! functions, and the supported types for use vs uses vs require-extension, which dont all match up, for some reason. -elf On Wed, 8 Nov 2006, Thomas Chust wrote: On Wed, 8 Nov 2006, elf wrote

<    1   2   3