J2SE is available by default (since it is included with the JVM).  I
believe java.lang.* is accessible without importing, and anything else
needs to be imported before using, can't remember for sure though.

So, (Math/sqrt 25) should just work.


On Tue, Nov 8, 2011 at 1:33 PM, megabite <afo...@tibox.com.br> wrote:
> I'm trying to use Math/sqrt using clojure 1.3.0 and lein but for some
> reason I can't get it to work.
>
> What do I need to put in the project.clj file and what needs to go
> into the (ns ...) statement in the core.clj file in order to get this
> work? It should be fairly straightforward but there don't seem to be
> any examples of this online. The only examples use [org.clojure/
> clojure-contrib "1.2.0"] which causes Maven to dump a bunch of errors.
>
> --
> 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 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