Re: Understanding remove-ns and require

2017-12-20 Thread Mark Melling
ement the behavior of 'require', > because require tries to avoid re-loading namespaces that have already been > loaded earlier. > > Andy > > On Tue, Dec 19, 2017 at 2:14 PM, Mark Melling < > mark.mell...@savageminds.com> wrote: > >> Hi, >> >>

Understanding remove-ns and require

2017-12-19 Thread Mark Melling
Hi, Apologies in advance for the possibly stupid question! I was having a problem with clojure.tools.namespace.repl/refresh where a namespace that had been successfully loaded subsequently failed to be reloaded when doing a repl/refresh. Whilst investigating the problem, (this is probably tota

Re: Unexpected behaviour of transient map

2017-11-27 Thread Mark Melling
Thanks, that is useful advice. I do think that the docstring for assoc! could be more explicit about the dangers of not using the return value. Given the value placed in experimenting in the REPL it's easy to see how one could be fooled into using assoc! incorrectly. On Friday, 24 November 2

Unexpected behaviour of transient map

2017-11-24 Thread Mark Melling
Hi, I was investigating an issue in a library which defines a macro that uses transients, and discovered some unexpected behaviour (at least unexpected to me). I would really appreciated it if someone could shed some light on this behaviour and the best way of dealing with it. If I do someth