Re: [Chicken-hackers] pathname expansion removed from sql-de-lite open-database

2014-07-07 Thread Jim Ursetto
Removed ##sys#expand-path from sql-de-lite's open-database in 0.6.3, in favor of requiring the user to call pathname-expand on the argument if desired. I don't think this will break anybody's code, but let me know. Jim On Jul 7, 2014, at 11:58 AM, Peter Bex wrote: > On Mon, Jul 07, 2014 at 11

Re: [Chicken-hackers] library unit restructuring

2014-07-07 Thread Evan Hanson
Hi Felix, I don't have a substantive reply just ATM, but I have also put some ideas and tagged some identifiers with where they might go in a reogranization at: http://wiki.call-cc.org/core-libraries-reorganization Cheers, Evan ___ Chicken-hackers mai

[Chicken-hackers] library unit restructuring

2014-07-07 Thread Felix Winkelmann
Hello, again... I am currently trying to put together a plan about the library restructuring that seems to be badly needed to make the core libraries smaller, more fine-grained and hopefully easier to use. * As already stated, I think it would be good to move some units into eggs. Currently t

Re: [Chicken-hackers] [PATCH] types.db entry for "append"

2014-07-07 Thread Evan Hanson
On 2014-07-07 22:34, Felix Winkelmann wrote: > I think the types.db entry for "append" is wrong, as it will produce > a warning when the last argument is a non-list, which is still valid > (for example when creating together lambda-lists). Quite right, pushed. Cheers, Evan _

[Chicken-hackers] [PATCH] Allow optional functor arguments

2014-07-07 Thread Felix Winkelmann
Hello! Here another (and proper) patch: it allows functor arguments to be optional, giving the author or a functor a way to provide a default, which seems to be quite useful. I think this patch was submitted before, but seems to have been forgotten. This patch also fixes a bug in the functor-arg

[Chicken-hackers] [PATCH] types.db entry for "append"

2014-07-07 Thread Felix Winkelmann
Hello! I think the types.db entry for "append" is wrong, as it will produce a warning when the last argument is a non-list, which is still valid (for example when creating together lambda-lists). diff --git a/types.db b/types.db index a66f044..bb9bb8e 100644 --- a/types.db +++ b/types.db @@ -16

Re: [Chicken-hackers] [PATCH] Fix #1079 by ripping out pathname expansion and putting it into an egg [Was: Re: [PATCH] add pathname-expand]

2014-07-07 Thread Jim Ursetto
Sounds good, I only use the tilde expansion, and that responsibility could probably even be removed and given to the caller. In my opinion the $FOO expansion can be jettisoned completely. Jim > On Jul 7, 2014, at 11:58, Peter Bex wrote: > >> On Mon, Jul 07, 2014 at 11:43:20AM -0500, Jim Ursett

Re: [Chicken-hackers] [PATCH] Fix #1079 by ripping out pathname expansion and putting it into an egg [Was: Re: [PATCH] add pathname-expand]

2014-07-07 Thread Peter Bex
On Mon, Jul 07, 2014 at 11:43:20AM -0500, Jim Ursetto wrote: > Thanks Peter! > Does this egg work with older Chicken versions? I.e. can I safely replace > ##sys#expand-home-path in sql-de-lite with pathname-expand across the board? > Jim That should work just fine. Because the algorithm is sligh

Re: [Chicken-hackers] [PATCH] Fix #1079 by ripping out pathname expansion and putting it into an egg [Was: Re: [PATCH] add pathname-expand]

2014-07-07 Thread Jim Ursetto
Thanks Peter! Does this egg work with older Chicken versions? I.e. can I safely replace ##sys#expand-home-path in sql-de-lite with pathname-expand across the board? Jim > On Jun 22, 2014, at 6:43, Peter Bex wrote: > >> On Wed, Nov 13, 2013 at 01:05:55PM +, Mario Domenech Goulart wrote: >> H

Re: [Chicken-hackers] [PATCH] Fix #1133

2014-07-07 Thread Peter Bex
On Mon, Jul 07, 2014 at 09:50:57AM -0300, Arthur Maciel wrote: > Peter, thank you very much for always kindly answering my silly questions. > > This info helps me a lot to understand more the chicken core. As time is > limited, I have to finish an egg first, implement the new wiki style > secondly

Re: [Chicken-hackers] [PATCH] Fix #1133

2014-07-07 Thread Arthur Maciel
Peter, thank you very much for always kindly answering my silly questions. This info helps me a lot to understand more the chicken core. As time is limited, I have to finish an egg first, implement the new wiki style secondly and in third place start looking into core seriously. But just to antic

Re: [Chicken-hackers] Chicken-hackers Digest, Vol 92, Issue 7

2014-07-07 Thread Peter Bex
On Sun, Jul 06, 2014 at 05:01:18PM -0300, Arthur Maciel wrote: > Probably all my doubts are due to my ignorance about C and computer > internals, but I would love to understand more the chicken.h file. > ( > http://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-core.git;a=blob;f=chicken.h;h=f5a103ee