Hi,

Am 02.01.2010 um 15:23 schrieb Roger Gilliar:

> I'm just trying to understand why I would use :>> in a condp expression. The 
> followjg code shows how I tried to write a test for condp, but the question 
> remains. Why would I want to use :>> ?

See here: http://groups.google.com/group/clojure/msg/d9ef152e19f5416b

It always interesting when the return value of the testing function is of 
interest. Eg. with some…

(condp some foo
  #{a b} :>> do-stuff-with-a-or-b
  #{x y} :>> same-with-x-or-y
  do-default)

So here it is interesting what was actually the match…

Sincerely
Meikel

-- 
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

Reply via email to