On Nov 28, 5:01 am, "Michael Wood" <[EMAIL PROTECTED]> wrote: > > ;; YMMV > > (add-classpath > > "file:///opt/local/lib/erlang/lib/jinterface-1.4/priv/OtpErlang.jar") > > Using add-classpath, except at the REPL, is discouraged.
True, it felt dirty doing that. My intent was to give someone who might not be as familiar with Erlang a clue as to where to find the required supporting libraries. I'll comment it out. > I think you want (name s) for both the Symbol and Keyword cases: > > user=> (defmulti to-erlang class) > #'user/to-erlang > user=> (defmethod to-erlang clojure.lang.Symbol [s] (name s)) > #<MultiFn [EMAIL PROTECTED]> > user=> (defmethod to-erlang clojure.lang.Keyword [s] (name s)) > #<MultiFn [EMAIL PROTECTED]> > user=> (to-erlang 'symbol) > "symbol" > user=> (to-erlang :keyword) > "keyword" Thanks! Eric --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---