Hello everybody,
I am trying to use clojure along with mathematica. Thanks to Clojuratica,
the integration is seamless..
 when I try to execute the following code
(math (SetDelayed (func1 (Pattern x (Blank)))
        (With [f 10 g 20]
              (* f (+ g x)))))
(math (func1 30))
I got
(ClojurianScopes/With [f 10 g 20] (* f (+ 30 g)))

and when I evaluated

(math (Set (func2 (Pattern x (Blank)))
        (With [f 10 g 20]
              (* f (+ g x)))))

(math (func2 30))


I got ...

(ClojurianScopes/With [f 10 g 20] (* f (+ 30 g)))

Adding N/Simplify did not make any difference..

I was expecting 500 in both of those tries..
Can anybody help?
Sunil.

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