Re: Helping newcomers get involved in Clojure projects

2014-01-27 Thread Bart Spiers
Great initiative!
I've been having the problem of not knowing what project to get into as it 
often seems daunting. On the one hand, there are a ton of projects, on the 
other hand, I have no clue where I actually might be able to help. 

I'm sure a lot of other people experience the same.


On Monday, January 27, 2014 3:28:01 PM UTC+1, Tim Visher wrote:

 On Sat, Jan 25, 2014 at 1:54 PM, Bridget bridget...@gmail.comjavascript: 
 wrote: 
  OpenHatch has this great initiative for encouraging newcomers to get 
  involved with open source projects. You tag some issues in your bug 
 tracker 
  as newcomer or easy. This provides a gentle path into contributing. 
  There is some work involved with this. You have to do the tagging, and 
 there 
  needs to be some capacity in your project for some mentoring. 
  
  Leiningen is doing this already with newbie tagged issues, which is 
  awesome. 
  
  Are there any other Clojure projects that are doing this? Would you like 
 to 
  do this with your project? If so, I can try to help. I have been 
 spending a 
  lot of time thinking about the Clojure newcomer perspective lately, and 
 I'd 
  like to work on some things that help smooth that path. 

 This is a great idea! 

 -- 

 In Christ, 

 Timmy V. 

 http://blog.twonegatives.com/ 
 http://five.sentenc.es/ -- Spend less time on mail 


-- 
-- 
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/groups/opt_out.


Re: how to check if something is a channel ?

2014-01-16 Thread Bart Spiers
Hey t x,
You could use type to check it. It's not very robust (if there are 
different types of channels, this might not work I guess) but will do the 
trick:
(defn is-channel? [c]
  (= (type (async/chan)) (type c)))

On Saturday, January 11, 2014 4:08:46 AM UTC+1, t x wrote:

 Hi,

   In clojure/cljs, what is the simplest way to check if a given object is 
 a async/chan ?

 Thanks!


-- 
-- 
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/groups/opt_out.


Re: functions inside of go blocks

2014-01-16 Thread Bart Spiers
I'm not really familiar with async, but why would you not be allowed to 
call that function inside a go block?

On Saturday, January 11, 2014 8:45:08 PM UTC+1, t x wrote:

 Hi,

   Consider this function:

 (defn try-put! [chan msg]
 (not (= (alts! [chan msg]
 :default :chan-full)
 :chan-full)))


 Now, I understand that:
 * go blocks involve deep macro walking / rewriting
 * thus, I can't call this function inside of a go block

 My question:

 * without rewriting the above as a macro, is there a way to
 call functions inside a go block?




-- 
-- 
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/groups/opt_out.