Re: [ANN] co-dependency in stuartsierra/component

2014-12-02 Thread Atamert Ölçgen
Thanks for the explanation. Yes, it makes sense. Without this library I would do something similar myself. You are using deref (pragmatic clojure) and the relationship is explicit (in system map), both are advantages. It is possible to design around it though; separate the common parts, say the co

Re: [ANN] co-dependency in stuartsierra/component

2014-12-02 Thread JUAN ANTONIO Ruz
Hi Atamert, I realised too the discouraged note about cyclic dependencies but although your closed "parent->child" component relations is logically perfect on start your system, when system "is ready to work" it'

Re: [ANN] co-dependency in stuartsierra/component

2014-12-02 Thread Atamert Ölçgen
Hi Juan, I thought co-dependencies ought to be designed out. Could you give a use case for co-dependency? On Tue, Dec 2, 2014 at 7:16 PM, JUAN ANTONIO Ruz wrote: > *co-dependency* is a library that lets you use "*cyclic*" dependencies in > stuartsierra/component systems > > In other words, :a

[ANN] co-dependency in stuartsierra/component

2014-12-02 Thread JUAN ANTONIO Ruz
*co-dependency* is a library that lets you use "*cyclic*" dependencies in stuartsierra/component systems In other words, :a depends-on :b, :b (co-)depends-on :a Although I used "cyclic" word, this co-dependency library is designed on the idea that components don't need co-dependencies to start