core.async: How to signal worker completion

2013-07-26 Thread Jeff Sigmon
I would like to signal after a channel is drained AND subsequently processed by workers inside go blocks. My understanding is that I could return a channel in my worker function and then close the channel when all of the workers have finished to signal completion. Since the channel can only be

Re: Integrating Clojure-CLR w/ VS

2011-07-02 Thread Jeff Sigmon
Sean, It looks like your not alone, see this https://github.com/jmis/vsClojure/issues/33 I was able to launch an exe outside of VS by adding the following environment variable - name: clojure.load.path value:

Filter map collection by list of keys

2011-06-12 Thread Jeff Sigmon
Given the following collection as input (def input ({:a a, :b b} {:b b, :c c} {:d d, :e e})) I want to be able to return a subset of the contained maps for each map that contains at least one key from a list of provided keys. for example: (filter-keys input [:a :b]) ;; out - ({:a a, :b b} {:b

Re: Filter map collection by list of keys

2011-06-12 Thread Jeff Sigmon
Wonderful! Pretty cool how the map itself is the predicate to the some function. Thanks Sean! -- 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