Hi,
I ran into a similar problem myself recently.
I'm not sure if this is the "best" approach but I found that if you
(use 'clojure.contrib.math)
instead of require, it should work.
Regards,
Mark.
On Oct 7, 2:50 pm, vishy <[email protected]> wrote:
> Hi,
>
> I am on windows machine. I am using these commands to startup clojure,
> but not able to use functions from contrib library.
>
> java -cp clojure.jar;clojure-contrib.jar clojure.lang.Repl
> Clojure 1.0.0-
> user=> (require 'clojure.contrib.math)
> nil
> user=> (lcm 4 5)
> java.lang.Exception: Unable to resolve symbol: lcm in this context
> (NO_SOURCE_F
> LE:2)
>
> Whats the problem here? Please help
>
> regards
> vishy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---