use of immigrate is unhygienic and a problem to be solved before you
go looking for others

On Thu, Jul 15, 2010 at 11:07 AM, Pedro Teixeira <pedr...@gmail.com> wrote:
> On Jul 14, 4:09 pm, Michał Marczyk <michal.marc...@gmail.com> wrote:
>> If you're ok with discarding all your methods for the given multi, you can do
>>
>> (ns-unmap the-ns-of-defmultiname-of-the-multimethod)
>>
>> (I'm not sure if you should also unmap it in namespaces which refer to
>> that Var just now...)
>>
>> Then the entire multifunction will be recreated when you recompile.
>
> Hi, perhaps someone has already stumble upon this issue:
>
> For some reason, when using immigrate, defmethod is not working. that
> is, defmethod inside a namespace which 'use a namespace which
> 'immigrate a defmulti does not seem to a dispatch function to the
> (methods 'multimethod).
>
> Does it make sense?
>
> regards,
> Pedro
>
>
> --
> 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



-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

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