Re: core.async mult "damaged" on reload

2016-01-30 Thread Terje Dahl
Forgive me for taking so long to reply to your very informative feedback. Only this evening have I had time to experiment and study. These are my findings so far: 'defprotocol' is a macro with side-effects, so any attempt at holding on to a copy and then re-inserting it into the var in the other

Re: core.async mult "damaged" on reload

2015-11-14 Thread James Elliott
If I understand what you’re saying, then it sounds like you are reloading a protocol definition, which creates a new protocol with the same name as the old protocol, but they are different things. Old objects which implement the old protocol do not implement the new protocol, even though it look

core.async mult "damaged" on reload

2015-11-13 Thread Terje Dahl
I put a core.async/mult instance in a map structure in a map. When i do load-file ... (from La Clojure in IntelliJ) the structure with the object instance is still there, but it isn't possible to use. I get: > CompilerException java.lang.IllegalArgumentException: No implementation of > method: :