Hi,

user> (definline sqrt [x]
        `(Math/sqrt ~x))
#'user/sqrt

user> (map sqrt (range 1 10))
(1.0 1.4142135623730951 1.7320508075688772 2.0 2.23606797749979 
2.449489742783178 2.6457513110645907 2.8284271247461903 3.0)

-- 
http://www.nostdal.org/

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