Good point, and a good reason for a macro.

On Thu, Feb 5, 2009 at 8:50 PM, kyle smith <the1physic...@gmail.com> wrote:

>
> Of course those would work, but I got sick of typing them over and
> over.
>
> (map-method length ["mary" "had" "a" "little" "lamb"])
> (map-method indexOf ["mary" "had" "a" "little" "lamb"] (int \a))
>
> I find typing # and % repetitive, so this is just a little syntactic
> sugar.
> >
>

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