Re: [Chicken-users] Eggology

2007-08-24 Thread Mario Domenech Goulart
On Fri, 24 Aug 2007 15:57:32 -0400 John Cowan <[EMAIL PROTECTED]> wrote: > Mario Domenech Goulart scripsit: > > > Now we have all of them: http://g3pd.ucpel.tche.br/~mario/egg-deps > > I don't think it's useful to have more > than one arrow between any two eggs. Look at > http://g3pd.ucpel.tche

Re: [Chicken-users] Eggology

2007-08-24 Thread John Cowan
Mario Domenech Goulart scripsit: > Now we have all of them: http://g3pd.ucpel.tche.br/~mario/egg-deps I don't think it's useful to have more than one arrow between any two eggs. Look at http://g3pd.ucpel.tche.br/~mario/egg-deps/scheme-dissect.png for an example of Op Art. -- Barry gules and ar

Re: [Chicken-users] Eggology

2007-08-24 Thread Mario Domenech Goulart
Hi folks, On 22 Aug 2007 22:14:23 -0300 Mario Domenech Goulart <[EMAIL PROTECTED]> wrote: > http://g3pd.ucpel.tche.br/~mario/egg-deps/ > > I'm getting an error while generating the graphs for all the eggs, > that's why not all of them are showed there. I'll try to fix it > tomorrow. Now we hav

Re: [Chicken-users] Eggology

2007-08-23 Thread foobar
Ivan Shmakov schrieb: >> felix winkelmann <[EMAIL PROTECTED]> writes: >> > > [...] > > >> Syntax-case is low-level, srfi-42 and miscmacros are control > >> structures... This is part of what lisp is to me; layers upon layers > >> of code. > > > Right, this is also why all L

Re: [Chicken-users] Eggology

2007-08-23 Thread Ivan Shmakov
> felix winkelmann <[EMAIL PROTECTED]> writes: [...] >> Syntax-case is low-level, srfi-42 and miscmacros are control >> structures... This is part of what lisp is to me; layers upon layers >> of code. > Right, this is also why all Lisp systems end up in large entangled > blobs that no o

Re: [Chicken-users] Eggology

2007-08-23 Thread Shawn Rutledge
On 8/23/07, John Cowan <[EMAIL PROTECTED]> wrote: > If you need to make backward-incompatible changes to the API of an egg, > make a new egg with a new name related to the old. Then persuade people This is similar to considering the major version number to be part of the "name" at some level (lik

Re: [Chicken-users] Eggology

2007-08-23 Thread felix winkelmann
On 8/24/07, John Cowan <[EMAIL PROTECTED]> wrote: > > If you need to make backward-incompatible changes to the API of an egg, > make a new egg with a new name related to the old. Then persuade people > to change over to the new egg. When you decide to pull support for the > old egg, announce that

Re: [Chicken-users] Eggology

2007-08-23 Thread John Cowan
felix winkelmann scripsit: > Why not just keep things as they are? Well, because "Does anyone mind if I make backward incompatible changes to the API of this egg?" doesn't really scale well. I have a very simple and easy proposal, purely social, no need for technical changes: If you need to mak

Re: [Chicken-users] Eggology

2007-08-23 Thread felix winkelmann
On 8/23/07, Will M Farr <[EMAIL PROTECTED]> wrote: > For an interesting perspective on this issue (which could probably be > incorporated by minor changes in the egg system), you guys might have > a look at PLT's PLaneT server. You can find a design paper at > > http://scheme2006.cs.uchicago.edu/0

Re: [Chicken-users] Eggology

2007-08-23 Thread felix winkelmann
On 8/23/07, Arto Bendiken <[EMAIL PROTECTED]> wrote: > > I believe this is simply a case of a situation where more of the > generally useful stuff should be pushed down to Chicken's standard > library, whence all eggs could rely on that functionality always being > available (unless compiled out e.

Re: [Chicken-users] Eggology

2007-08-23 Thread felix winkelmann
On 8/23/07, Sunnan <[EMAIL PROTECTED]> wrote: > felix winkelmann wrote: > > I agree with Benedikt that dependencies should be kept at a minimum. > > It starts with simple sharing of code but quickly everything ends up in > > a tangle of dependencies that no one can comprehend. > What's the alternat

Re: [Chicken-users] Eggology

2007-08-23 Thread Will M Farr
For an interesting perspective on this issue (which could probably be incorporated by minor changes in the egg system), you guys might have a look at PLT's PLaneT server. You can find a design paper at http://scheme2006.cs.uchicago.edu/04-matthews.pdf and, of course, the PLaneT repository a

Re: [Chicken-users] Eggology

2007-08-23 Thread Peter Keller
Hello, On Thu, Aug 23, 2007 at 02:00:07AM +0200, felix winkelmann wrote: > tool -> srfi-37, args-doc > args-doc -> srfi-37, srfi-95 > srfi-95 -> array-lib > array-lib -> srfi-42, miscmacros, misc-extn > srfi-42 -> syntax-case > > This is insane. It might be insane, but I don't know how you are g

Re: [Chicken-users] Eggology

2007-08-23 Thread John Cowan
Shawn Rutledge scripsit: > But it's important for popular eggs to be kept in a working state, and > not change existing APIs in them when avoidable. In particular, there is no reason not to depend on any egg that implements a SRFI or other external standard, since the interface is fixed. (Of cour

Re: [Chicken-users] Eggology

2007-08-23 Thread Arto Bendiken
On 8/23/07, felix winkelmann <[EMAIL PROTECTED]> wrote: > On 8/22/07, Sunnan <[EMAIL PROTECTED]> wrote: > > Benedikt Rosenau wrote: > > > Anyway, I propose the following: please keep dependencies between > > > eggs small. > > I disagree; sometimes, it seems better to split common code to libraries

Re: [Chicken-users] Eggology

2007-08-23 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mea Maxima Culpa to Chicken Users. My apologies for the sloppy release of the re-factored "misc-extn" egg. Not only didn't I update the dependency chain in the various .setup files, I managed to create an inconsistent repository. However, there

Re: [Chicken-users] Eggology

2007-08-23 Thread Shawn Rutledge
On 8/22/07, Ivan Shmakov <[EMAIL PROTECTED]> wrote: > It seems not too hard to implement dependency resolving in > software. Surely, it shouldn't be necessary to download all the > dependencies manually. chicken-setup does that - if I install an egg that depends on another

Re: [Chicken-users] Eggology

2007-08-23 Thread Sunnan
felix winkelmann wrote: I agree with Benedikt that dependencies should be kept at a minimum. It starts with simple sharing of code but quickly everything ends up in a tangle of dependencies that no one can comprehend. What's the alternative? Should "tool" implement its own args documentation? Sh

Re: [Chicken-users] Eggology

2007-08-23 Thread Peter Bex
On Thu, Aug 23, 2007 at 12:12:39PM +0700, Ivan Shmakov wrote: > SR> But it's important for popular eggs to be kept in a working state, > SR> and not change existing APIs in them when avoidable. > > Could it be the reason to include version numbers into the .egg > names, so that,

Re: [Chicken-users] Eggology

2007-08-22 Thread Ivan Shmakov
> "SR" == Shawn Rutledge <[EMAIL PROTECTED]> writes: [...] SR> I think code reuse is generally a good thing. As long as there is SR> no circular dependency, what's wrong with depending on a few eggs? SR> It's better than rewriting the parts you need, right? (and if your SR> few dependen

Re: [Chicken-users] Eggology

2007-08-22 Thread Shawn Rutledge
Nice graphs! I was thinking the same thing (but of course, wouldn't have gotten around to actually doing it). I think code reuse is generally a good thing. As long as there is no circular dependency, what's wrong with depending on a few eggs? It's better than rewriting the parts you need, right

Re: [Chicken-users] Eggology

2007-08-22 Thread Mario Domenech Goulart
On Thu, 23 Aug 2007 10:05:33 +0900 Ivan Raikov <[EMAIL PROTECTED]> wrote: > Good point. Also, the command-line nest-tool could probably be > extended to print a GraphViz (or VCG) representation of the egg > dependencies, using the format-graph egg. Do you want to add that > functionality? I will

Re: [Chicken-users] Eggology

2007-08-22 Thread Ivan Raikov
Good point. Also, the command-line nest-tool could probably be extended to print a GraphViz (or VCG) representation of the egg dependencies, using the format-graph egg. Do you want to add that functionality? I will be more than happy to help with the graph stuff, though it should be pretty simpl

Re: [Chicken-users] Eggology

2007-08-22 Thread felix winkelmann
On 8/22/07, Sunnan <[EMAIL PROTECTED]> wrote: > Benedikt Rosenau wrote: > > Anyway, I propose the following: please keep dependencies between > > eggs small. > I disagree; sometimes, it seems better to split common code to libraries > than to have duplication. Dependencies can be hell, but so can d

Re: [Chicken-users] Eggology

2007-08-22 Thread Benedikt Rosenau
On Wed, Aug 22, 2007 at 08:41:10AM +0200, Sunnan wrote: >> Anyway, I propose the following: please keep dependencies between >> eggs small. > I disagree; sometimes, it seems better to split common code to libraries > than to have duplication. Dependencies can be hell, but so can duplication. De

Re: [Chicken-users] Eggology

2007-08-22 Thread Mario Domenech Goulart
Hi, On Wed, 22 Aug 2007 15:50:49 +0900 Ivan Raikov <[EMAIL PROTECTED]> wrote: > Another solution would be to modify salmonella to construct a > dependency graph for all eggs and issue a warning for each dependency > cycle detected. The graph-cycles egg documentation has an example on > how to b

Re: [Chicken-users] Eggology

2007-08-22 Thread Peter Bex
On Wed, Aug 22, 2007 at 09:16:17AM +0200, Sunnan wrote: > Ivan Raikov wrote: > > Another solution would be to modify salmonella to construct a > > dependency graph for all eggs and issue a warning for each dependency > > cycle detected. > That would detect the problems, but wouldn't really solve

Re: [Chicken-users] Eggology

2007-08-22 Thread Ivan Raikov
Oops, you are right, I was thinking about detection, not prevention or resolution. -Ivan Sunnan <[EMAIL PROTECTED]> writes: > Ivan Raikov wrote: >> Another solution would be to modify salmonella to construct a >> dependency graph for all eggs and issue a warning for each dependency >> cy

Re: [Chicken-users] Eggology

2007-08-22 Thread Sunnan
Ivan Raikov wrote: Another solution would be to modify salmonella to construct a dependency graph for all eggs and issue a warning for each dependency cycle detected. That would detect the problems, but wouldn't really solve them. ___ Chicken-user

Re: [Chicken-users] Eggology

2007-08-21 Thread Ivan Raikov
Another solution would be to modify salmonella to construct a dependency graph for all eggs and issue a warning for each dependency cycle detected. The graph-cycles egg documentation has an example on how to build a dependency graph, and enumerate all cycles in it. -Ivan Sunnan <[EMAIL P

Re: [Chicken-users] Eggology

2007-08-21 Thread Sunnan
Benedikt Rosenau wrote: Anyway, I propose the following: please keep dependencies between eggs small. I disagree; sometimes, it seems better to split common code to libraries than to have duplication. Dependencies can be hell, but so can duplication. Further, no mutual dependencies (A needs

Re: [Chicken-users] Eggology

2007-08-21 Thread Alex Queiroz
Hallo, On 8/21/07, Benedikt Rosenau <[EMAIL PROTECTED]> wrote: > > Today, I ran an upgrade because 'chicken-meta-setup check' > showed new eggs. However after installing the new tinyclos, > misc-extn, and lookup-table eggs, a new check with > chicken-meta-setup failed because that crashes. >

[Chicken-users] Eggology

2007-08-21 Thread Benedikt Rosenau
Hello, Today, I ran an upgrade because 'chicken-meta-setup check' showed new eggs. However after installing the new tinyclos, misc-extn, and lookup-table eggs, a new check with chicken-meta-setup failed because that crashes. Further, chicken-setup on logging fails because it requires uri, and se