Hi James,

It's nice to see that integrant now has support for multiple 
instantiations, good job!

I think it doesn't mean much for codependence though as I'm likely to 
extend it with more features soon that probably don't belong in integrant.

Cheers,
James

On Monday, March 20, 2017 at 8:44:16 AM UTC+1, James Reeves wrote:
>
> Nice work. The use of keys is interesting.
>
> I'm not sure of this affects Codependence, but I released a new version of 
> Integrant a few days ago that supports multiple components of the same type 
> via composite keys.
>
> - James
>
> On 19 March 2017 at 09:17, James Laver <james...@gmail.com <javascript:>> 
> wrote:
>
>> Hi all,
>>
>> The Irresponsible Clojure Guild is pleased to announce codependence 0.1.0 
>> is now available on clojars.
>>
>> This library came about because I liked integrant, but I wanted a bit 
>> more flexibility. It's built upon integrant (which is cool, I ported it to 
>> clojurescript!) but with a twist.
>>
>> In ordinary integrant, you might specify an app like this (component 
>> configs elided for brevity):
>>
>> ```
>> {:http {}
>>  :db {}}
>> ```
>>
>> In codependence you specify them like this:
>>
>> ```
>> {:http {:co/tag :http/aleph}
>>  :db {:co/tag :db/utrecht}
>> ```
>>
>> In the first example, :http and :db are the tags one will register 
>> behaviour for. in the second, they are :http/aleph and :db/utrecht. 
>> integrant refs are unmodified
>>
>> This firstly means that one tag can instantiate multiple components of 
>> the same type and secondly makes it easier to ship predefined components 
>> and let a user stitch them together as config
>>
>> dep coord: [irresponsible/codependence "0.1.0"]
>> github: https://github.com/irresponsible/codependence
>>
>> Cheers,
>> James (and the ICG)
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> <javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to