Stuart Sierra a écrit : > Stu's suggestion of with-ns would also work. But you don't even need > with-ns. You can refer a private function into the local namespace > like this: > > (def private-function (ns-resolve 'other-namespace 'private-function)) >
And don't forget the good old @#'other-namespace/private-function to get the value of any private var :-) -- Professional: http://cgrand.net/ (fr) On Clojure: http://clj-me.blogspot.com/ (en) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
