bad example =/

Yes, it is

but you get the gist I hope

better example: #(first (sort %)) ;)

2010/8/23 gary ng <garyng2...@gmail.com>:
> On Mon, Aug 23, 2010 at 8:50 AM, Joop Kiefte <iko...@gmail.com> wrote:
>> uses like #(first %) keeps the code cleaner
>>
> Is that the same as just 'first' like :
>
> (map first [[1 2] [3 4]])
>
> (map #(first %) [[1 2] [3 4]))
>
> --
> 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



-- 
Linux-user #496644 (http://counter.li.org) - first touch of linux in 2004

Demandoj en aĆ­ pri Esperanto? Questions about Esperanto? Vragen over
Esperanto? Perguntas sobre o Esperanto? - http://demandoj.tk

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