Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread Matthew Welland
On Friday 11 September 2009 04:39:43 pm you wrote: 2009/9/10 Matthew Welland m...@kiatoa.com Seconded. I gave some code of mine to someone with instructions to install chicken to compile it. He said it doesn't work. Oops. Yeah, You gotta use 3.3. Ok, how do I get it. Uh, dunno. He now

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread Matthew Welland
Replying to myself - I just needed to use require instead of use. I'll test a few other apps and if it goes well start moving to 4.1. On Saturday 12 September 2009 09:52:51 am Matthew Welland wrote: On Friday 11 September 2009 04:39:43 pm you wrote: 2009/9/10 Matthew Welland m...@kiatoa.com

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread Jim Ursetto
require works but probably require-library in chicken 4 is the nearest equivalent to use in chicken 3. In chicken 4, use now does require-library + import, and the import is causing the problem. As far as modules, as a quick fix you can probably just wrap your geolib source file (etc.) in

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread John Cowan
Jim Ursetto scripsit: As far as modules, as a quick fix you can probably just wrap your geolib source file (etc.) in (module geolib * (import scheme chicken) ...), so USE will operate as it did in Chicken 3. Actually, you can't. In Chicken 3, use would load stuff from the current directory,

use vs require (was Re: [Chicken-users] Proposed procedure movement in Chicken 4)

2009-09-12 Thread Matthew Welland
On Saturday 12 September 2009 02:13:47 pm you wrote: require works but probably require-library in chicken 4 is the nearest equivalent to use in chicken 3. In chicken 4, use now does require-library + import, and the import is causing the problem. As far as modules, as a quick fix you can

Re: use vs require (was Re: [Chicken-users] Proposed procedure movement in Chicken 4)

2009-09-12 Thread Jim Ursetto
On Sat, Sep 12, 2009 at 6:05 PM, Matthew Welland m...@kiatoa.com wrote: On Saturday 12 September 2009 02:13:47 pm you wrote: require works but probably require-library in chicken 4 is the nearest equivalent to use in chicken 3. In chicken 4, use now does require-library + import, and the

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread John Cowan
Jim Ursetto scripsit: Version 4.1.1 - SVN rev. 15417 #;1 (use a) ; loading ./a.import.so ... ; loading /Users/jim/local/chicken-4/lib/chicken/4/scheme.import.so ... ; loading /Users/jim/local/chicken-4/lib/chicken/4/chicken.import.so ... ; loading ./a.so ... But if you haven't compiled it

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread Jim Ursetto
On Sat, Sep 12, 2009 at 6:50 PM, John Cowan co...@ccil.org wrote: But if you haven't compiled it and just have the source, that doesn't work; it used to in Chicken 3's csi. $ rm a.import.so $ rm a.so $ csi Version 4.1.1 - SVN rev. 15417 #;1 (use a) ; loading ./a.import.scm ... ; loading

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread John Cowan
Jim Ursetto scripsit: $ csi Version 4.1.1 - SVN rev. 15417 #;1 (use a) ; loading ./a.import.scm ... ; loading /Users/jim/local/chicken-4/lib/chicken/4/scheme.import.so ... ; loading /Users/jim/local/chicken-4/lib/chicken/4/chicken.import.so ... ; loading ./a.scm ... #;2 Okay, then, it

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-12 Thread Jim Ursetto
On Sat, Sep 12, 2009 at 9:14 PM, John Cowan co...@ccil.org wrote: Okay, then, it seems you at least have to do csc -J. That is true, which is why I mentioned it in the next sentence. Jim ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-11 Thread Stephen Eilert
2009/9/10 Matthew Welland m...@kiatoa.com Seconded. I gave some code of mine to someone with instructions to install chicken to compile it. He said it doesn't work. Oops. Yeah, You gotta use 3.3. Ok, how do I get it. Uh, dunno. He now thinks chicken is a POS. My fault for not testing my

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-10 Thread Peter Bex
On Wed, Sep 09, 2009 at 03:14:50PM -0700, Derrell Piper wrote: Someone asked me what I meant by my first comment. I checked Salmonella and it reports the following statistics for eggs (4 on top, 3 on bottom): Failed99 Succeed 334 (76%) Skipped 4 Total

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-10 Thread Matthew Welland
On Wednesday 09 September 2009 03:14:50 pm Derrell Piper wrote: Someone asked me what I meant by my first comment. I checked Salmonella and it reports the following statistics for eggs (4 on top, 3 on bottom): Failed99 Succeed 334 (76%) Skipped 4 Total 437

[Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Kon Lovett
Hi Folks, These are planned changes to the unit structure of Chicken 4: 1) Unit utils 'read-all' - Unit extras. 2) Unit utils 'qs', 'system*', 'compile-file-options', 'compile- file' - Unit files. 3) Unit extras random stuff - Unit utils 4) Unit files pathname stuff - Unit pathname 5)

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Mario Domenech Goulart
Hi Kon On Wed, 9 Sep 2009 10:51:35 -0700 Kon Lovett klov...@pacbell.net wrote: 2) Unit utils 'qs', 'system*', 'compile-file-options', 'compile- file' - Unit files. I suggest renaming `qs' to something more meaningful. Best wishes. Mario ___

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Peter Bex
On Wed, Sep 09, 2009 at 10:51:35AM -0700, Kon Lovett wrote: Hi Folks, These are planned changes to the unit structure of Chicken 4: 1) Unit utils 'read-all' - Unit extras. 2) Unit utils 'qs', 'system*', 'compile-file-options', 'compile- file' - Unit files. 3) Unit extras random

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Peter Bex
On Wed, Sep 09, 2009 at 01:59:17PM -0400, Mario Domenech Goulart wrote: Hi Kon On Wed, 9 Sep 2009 10:51:35 -0700 Kon Lovett klov...@pacbell.net wrote: 2) Unit utils 'qs', 'system*', 'compile-file-options', 'compile- file' - Unit files. I suggest renaming `qs' to something more

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread John Cowan
Kon Lovett scripsit: 2) Unit utils 'qs', 'system*', 'compile-file-options', 'compile- file' - Unit files. These last two don't seem to be on the wiki anywhere. I agree that qs is a crappy name; it should be shell-quote or quote-for-shell. I want to perform 1 - 3 soon, and 4 - 6 after.

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Kon Lovett
On Sep 9, 2009, at 11:12 AM, John Cowan wrote: Kon Lovett scripsit: 2) Unit utils 'qs', 'system*', 'compile-file-options', 'compile- file' - Unit files. These last two don't seem to be on the wiki anywhere. I know. TBD. I agree that qs is a crappy name; it should be shell-quote or

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Elf
On Wed, 9 Sep 2009, Peter Bex wrote: On Wed, Sep 09, 2009 at 10:51:35AM -0700, Kon Lovett wrote: Hi Folks, These are planned changes to the unit structure of Chicken 4: 1) Unit utils 'read-all' - Unit extras. 2) Unit utils 'qs', 'system*', 'compile-file-options', 'compile- file' - Unit

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Derrell Piper
Seems like you already have a substantial broken egg problem with Chicken 4 already. You sure you want to break yet more eggs? Do you have the ability to fix all the eggs? If so I think you should consider that as part of this re-org. I also dislike 'Utils'; that's awfully generic.

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Peter Bex
On Wed, Sep 09, 2009 at 11:57:48AM -0700, Kon Lovett wrote: How can we ensure eggs keep working on systems with Chicken 4.1 and Chicken 4.2 (assuming these will be made into 4.2)? We can only distinguish between major versions of Chicken in chicken-setup and other egg tools. The setup-api

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Jim Ursetto
I trust you will make any changes backwards-compatible and transparent for a while so we have a semblance of stability. Unless you are also proposing that you will modify every affected egg and add a cond-expand to distinguish between Chicken 4.1 and 4.2. I'll accept breakage if it gets me cool

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Derrell Piper
Someone asked me what I meant by my first comment. I checked Salmonella and it reports the following statistics for eggs (4 on top, 3 on bottom): Failed 99 Succeed 334 (76%) Skipped 4 Total 437 Failed 65 Succeed 139 (67%) Skipped 4 Total 208 ...which seems to

Re: [Chicken-users] Proposed procedure movement in Chicken 4

2009-09-09 Thread Ivan Raikov
Hi Kon, Good idea in principle. Unit extras and utils should be dissolved altogether, if possible. Can I ask you to wait until Chicken 4.2.0 is released? I will merge trunk into the prerelease branch this weekend, and start testing it, so if you can start making your changes to trunk after