[Chicken-users] srfi-19 'date?'

2013-10-13 Thread John J Foerch
Hello, I noticed that srfi-19-date (version 3.3.4) does not export 'date?'. I think that perhaps it should. Also, 'date?' is not documented in the egg docs (http://wiki.call-cc.org/eggref/4/srfi-19). Thank you, -- John Foerch ___ Chicken-users mai

Re: [Chicken-users] srfi-19 'date?'

2013-10-14 Thread John J Foerch
Matt Gushee writes: > Hmm ... > > On Sun, Oct 13, 2013 at 11:11 AM, John J Foerch > wrote: > >> I noticed that srfi-19-date (version 3.3.4) does not export 'date?'. I >> think that perhaps it should. > > On my system: > > csi> (use srfi-

[Chicken-users] color egg

2016-08-30 Thread John J Foerch
Hello, Has anybody used the color egg to do colorspace conversions? I'm getting some unexpected results, and wonder whether there are bugs in the egg, or whether I just misunderstand something about the colorspaces involved. Here are the relevant links: http://wiki.call-cc.org/eggref/4/color

[Chicken-users] r7rs improper redefinition of imported symbol

2016-09-19 Thread John J Foerch
Hello, I ran into a little problem when working with the r6rs-bytevectors egg, which provides an r7rs implementation of (r6rs bytevectors). The bytevector-copy! procedure has a different call signature in r6 than in r7, and I found that as r6rs-bytevectors is currently written, its bytevector-cop

Re: [Chicken-users] r7rs improper redefinition of imported symbol

2016-09-19 Thread John J Foerch
John Cowan writes: > On Mon, Sep 19, 2016 at 4:51 PM, John J Foerch > wrote: > > I ran into a little problem when working with the r6rs-bytevectors > egg, > which provides an r7rs implementation of (r6rs bytevectors). The > bytevector-copy! procedure

Re: [Chicken-users] r7rs improper redefinition of imported symbol

2016-09-19 Thread John J Foerch
Evan Hanson writes: > Hi John, > > You're quite right, this was indeed a bug relating to which bindings are > implicitly available within R7RS libraries. > > This should be fixed in 0.0.5, just released and available shortly. If you > could have a go with that version and let me know if you still

Re: [Chicken-users] r7rs improper redefinition of imported symbol

2016-09-19 Thread John J Foerch
John J Foerch writes: > Evan Hanson writes: > >> Hi John, >> >> You're quite right, this was indeed a bug relating to which bindings are >> implicitly available within R7RS libraries. >> >> This should be fixed in 0.0.5, just released and availab

[Chicken-users] coops / override initialize-instance

2011-03-08 Thread John J Foerch
Hello, What is the recommended way to perform complex initialization of object instances in coops? Say I need to initialize a certain slot based on the values of other slots in the object. Is the initialize-instance generic designed in a way that it is safe to do something like this: (define-

[Chicken-users] Re: coops / override initialize-instance

2011-03-09 Thread John J Foerch
Felix writes: > From: John J Foerch > Subject: [Chicken-users] coops / override initialize-instance > Date: Tue, 08 Mar 2011 16:30:32 -0500 > >> Hello, >> >> What is the recommended way to perform complex initialization of object >> instances in coops? Say

[Chicken-users] foreign-lambda* question

2011-03-09 Thread John J Foerch
Hello, I'm writing a program that uses xlib and have hit a question that I cannot make heads or tails of from the web docs. I have a procedure that takes a window and a list of numbers and sets a property on the window which is an array of those numbers. The array must be an array of unsigned lo

[Chicken-users] Re: foreign-lambda* question

2011-03-10 Thread John J Foerch
Jim Ursetto writes: > John, > Presuming you no longer need the contents of "values" after the call to > window-property-set, you can then use "free" from unit lolevel to free the > memory. Is that the case? > Aha, thank you. Yes. -- John Foerch _

[Chicken-users] Re: foreign-lambda* question

2011-03-10 Thread John J Foerch
Thomas Chust writes: > > Hello John, > > looking at your code I have two immediate questions: Why do you > recompute the length of a list twice, which is a linear operation, > when you could simply store the length or access the length of the > vector you create in constant time? > Just sloppines

[Chicken-users] Re: Hello World execution time

2011-03-13 Thread John J Foerch
Tobia Conforto writes: > "Hello, > > World execution time"—may not be the most meaningful of benchmarks, but it's > pretty important when you are writing shell scripts / cron jobs / random > commandline utilities. It also serves to compare the startup overhead of > different execution environments

[Chicken-users] zip-alist documentation

2011-03-14 Thread John J Foerch
There seems to be an error in the documentation for zip-alist. Possibly due to a syntax error in the source? http://3e8.org/chickadee/list-utils/zip-alist Second paragraph reads: Error signaling versions of the standard association lookup functions. When the KEY is not found and a NOT-FOU

[Chicken-users] dbus:send bug

2011-03-14 Thread John J Foerch
Hello, There seems to be an error in dbus:send in the dbus egg. As a test case, the first example given in the dbus egg docs will show the problem: http://wiki.call-cc.org/eggref/4/dbus#examples-you-can-test-with-qt I built the two programs 'car-example-client' and 'car-example-server'. There i

[Chicken-users] Re: dbus:send bug

2011-03-15 Thread John J Foerch
John J Foerch writes: > There seems to be an error in dbus:send in the dbus egg. As a test > case, the first example given in the dbus egg docs will show the > problem: > > http://wiki.call-cc.org/eggref/4/dbus#examples-you-can-test-with-qt On further research, it seems that

[Chicken-users] Re: dbus:send bug

2011-03-16 Thread John J Foerch
Christian Kellermann writes: > Hi John! > >> This is misleading. It should say "send a signal" instead of "message". >> The second clause is also misleading, because there is simply no >> response to wait for. >> >> Then the examples just need to be fixed up to use dbus:call instead of >> dbus:s

[Chicken-users] Re: dbus:send bug

2011-03-16 Thread John J Foerch
Christian Kellermann writes: > * John J Foerch [110316 17:59]: >> Okay, great. For some reason I hadn't noticed that I could edit that >> page. I thought the egg pages were auto-generated from inline comments >> in the eggs themselves (or something). So I will work

[Chicken-users] spiffy, remote-address, X-Forwarded-For

2011-04-13 Thread John J Foerch
Hello, I have a feature request for spiffy. The background: I set up an awful-based web app behind an apache2 reverse proxy. Awful/spiffy is listening locally on port 8080, and apache2 delivers requests to it via mod_rewrite with the [P] (proxy) flag. Under this configuration, the spiffy call (

[Chicken-users] chicken-install -n -test

2011-08-26 Thread John J Foerch
Hello, I'm writing an egg and I happened to try 'chicken-install -n -test' to see if I could run my tests without installing the egg. This does not work in the version of chicken that I'm using (4.6.0 from Debian), so I would like to make this a feature request. When running chicken-install from

Re: [Chicken-users] chicken-install -n -test

2011-08-26 Thread John J Foerch
Mario Domenech Goulart writes: > Hi John, > > On Fri, 26 Aug 2011 20:11:20 -0400 John J Foerch > wrote: > >> I'm writing an egg and I happened to try 'chicken-install -n -test' to >> see if I could run my tests without installing the egg. This does

Re: [Chicken-users] chicken-install -n -test

2011-08-30 Thread John J Foerch
Mario Domenech Goulart writes: > Hi John, > > On Fri, 26 Aug 2011 20:31:50 -0400 John J Foerch > wrote: > >> Mario Domenech Goulart writes: >>> >>> On Fri, 26 Aug 2011 20:11:20 -0400 John J Foerch >>> wrote: >>> >>>> I

Re: [Chicken-users] chicken-install -n -test

2011-08-30 Thread John J Foerch
Felix writes: > From: John J Foerch > Subject: [Chicken-users] chicken-install -n -test > Date: Fri, 26 Aug 2011 20:11:20 -0400 > >> Hello, >> >> I'm writing an egg and I happened to try 'chicken-install -n -test' to >> see if I could run

[Chicken-users] define-foreign-enum-type

2012-04-26 Thread John J Foerch
Hello, I am using chicken 4.7.0, and in the course of writing some library bindings, I came upon a difference between define-foreign-type and define-foreign-enum-type that puzzles me. Here is a minimal program that shows it: (import chicken scheme foreign foreigners) #> typedef enum

Re: [Chicken-users] define-foreign-enum-type

2012-04-26 Thread John J Foerch
d pointers to any foreign type (as it's just a > C pointer, and Chicken doesn't have to do any conversion). > > Jim > > > On Apr 26, 2012, at 9:40 PM, John J Foerch wrote: > >> Hello, >> >> I am using chicken 4.7.0, and in the course of writing