On Mon, Dec 19, 2011 at 8:58 PM, Dave Sann <[email protected]> wrote:

> I would like to have a macro to do the following, is this possible?
>
> (getm javascript-map "key")
>
> expands to:
>
> (.key javascript-map)
>

What advantage does the former have over the latter? The latter is shorter.
Also the new property syntax is just around the corner:

(.-key js-map)

David

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to