Multimethods in other namespaces

2009-02-25 Thread Jeffrey Straszheim
If in namespace one I define (defmulti fred dispatch-fred) and have imported that ns into another, can I just do (defmethod fred ::val [x] ), or do I need to scope the method name? --~--~-~--~~~---~--~~ You received this message because you are

Re: Multimethods in other namespaces

2009-02-25 Thread David Nolen
That should work fine as far as I can tell. On Wed, Feb 25, 2009 at 3:36 PM, Jeffrey Straszheim straszheimjeff...@gmail.com wrote: If in namespace one I define (defmulti fred dispatch-fred) and have imported that ns into another, can I just do (defmethod fred ::val [x] ), or