Hi Laurens,

My example was not very good. Here another one:

(.format (first '(String)) "%s" "foo")

Imagine String is obtained dynamically. I guess then I have to use Java 
reflection to do a dynamic invocation. I guess I am confused because 
classes in Java are not objects.

Le mercredi 20 mai 2015 18:40:13 UTC-4, Laurens Van Houtven a écrit :
>
> Hi Pierre,
>
> On May 20, 2015, at 3:38 PM, Pierre Thibault <[email protected] 
> <javascript:>> wrote:
>
> I can do Math/PI put how can I access PI if Math is in a expression like 
> '(Math) for example?
>
>
> Can you provide a more specific example? Math/PI is always Math/PI, it 
> doesn’t change if you put it in a nested form/expression.
>
> hth
> lvh
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected] <javascript:>
> 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] <javascript:>
> 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 unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to