>> "Holy wars are fun for a while (if I wanted to start one on this list, I'd 
>> go into the superiority of vim over emacs),"

It wasn't me =)

Don't get me wrong, I'm not ANTI-type. I'm ANTI-ANTI-untype… which is a much 
more partial position to take =)


On 08/10/2013, at 11:46 PM, "John D. Hume" <duelin.mark...@gmail.com> wrote:
> > > (cond (hash-map? v)
> > >             ……
> > >
> > >            (vector? v)
> > >             ……
> > >
> > >            (list? v)
> > >            …..
> > >
> > >             :else …..)
> > >
> 
> zcaudate, in what context(s) do you find yourself writing a lot of 
> expressions like that? I rarely want to allow so much flexibility in 
> arguments. I'm wondering if there are idioms to avoid it.
> 



I do it for operator overloading/syntactic sugar…. 
http://z.caudate.me/ova/#indices-selection

Also, they are quite useful for macros… https://github.com/zcaudate/purnam

As well as custom representation of data and also for traversing nested maps… 
https://github.com/zcaudate/adi

-----------



Chris.

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

Reply via email to