Re: Why does interruptible-eval from tools.nrepl queue evaluations?

2018-05-03 Thread Gary Fredericks
I used the hacky tactic of just sending messages through the nrepl channels (while the eval is blocked) to implement this: https://github.com/gfredericks/debug-repl Gary Fredericks (803)-295-0195 fredericksg...@gmail.com gfredericks.com On Thu, May 3, 2018 at 4:31 PM, Carlo Zancanaro wrote: > >

Re: Why does interruptible-eval from tools.nrepl queue evaluations?

2018-05-03 Thread Carlo Zancanaro
On Thu, May 03 2018, Gary Fredericks wrote: Separately, I use this macro for running background things in the repl. It probably targets different concerns, but seems related at least. My use case is quite different. Requiring someone to decide a

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread Huahai Yang
My understanding is that data.xml returns data as defrecords and they implements IPersistentMap, so I think editscript should work for data.xml. Please let me know how it goes if you do try. The performance should be good as maps are cheap to diff. Currently, anything implements IPersistentMap, IP

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread Gregg Reynolds
On Tue, May 1, 2018, 1:52 AM wrote: > Hello, > > I am happy to make available a diffing/patching library for Clojure data > structures. > > https://github.com/juji-io/editscript > That looks very good! Am I right that this could be used along with e.g. data.xml (https://github.com/clojure/data

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread Simon Luetzelschwab
My apologies, missed the reference further below since you mentioned you did not find any libraries in your intro text. On Thu, May 3, 2018 at 9:11 AM, wrote: > My readme specifically mentioned https://github.com/friemen/diffit, where > I said: > > >...The same sequence diffing algorithm is also

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread hyang
My readme specifically mentioned https://github.com/friemen/diffit, where I said: >...The same sequence diffing algorithm is also implemented in diffit . Using their benchmark, our implementation has slightly better performance due to more optimizations. Keep

Re: Spy - Clojure / ClojureScript library for stubs, spies and mocks

2018-05-03 Thread Matthew Boston
There is also https://github.com/circleci/bond which we use quite extensively at CircleCI. And I have used it on other projects outside of CircleCI. On Monday, April 30, 2018 at 7:48:31 AM UTC-6, Didier wrote: > > This looks cool for validation. -- You received this message because you are sub

Re: Why does interruptible-eval from tools.nrepl queue evaluations?

2018-05-03 Thread Gary Fredericks
Separately, I use this macro for running background things in the repl. It probably targets different concerns, but seems related at least. Gary Fredericks (803)-295-0195 fredericksg...@gmail.com gfredericks.com On Thu, May 3, 2018 at 8:01 AM, Carlo

Re: Why does interruptible-eval from tools.nrepl queue evaluations?

2018-05-03 Thread Carlo Zancanaro
Apologies, I forgot to cc the list. On Thu, May 03 2018, Gary Fredericks wrote: You would also have race conditions on the meaning of *1, *2, *3, and *e. On Thu, May 3, 2018 at 5:43 AM, Carlo Zancanaro wrote: >But what happens when a user set!s a var? is it effective for >all future evals

Re: Why does interruptible-eval from tools.nrepl queue evaluations?

2018-05-03 Thread Gary Fredericks
But what happens when a user set!s a var? is it effective for all future evals but not the concurrent ones? On Wed, May 2, 2018 at 8:35 PM, Carlo Zancanaro wrote: > > > >I think dynamic vars in particular would be problematic. The repl is > built around being able to set! certain vars, and you c

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread Simon Luetzelschwab
Thanks for sharing! Last time I was looking for something similar, I came across this library - https://github.com/friemen/diffit It works for both Clojure and ClojureScript, although it's specific for either maps or vectors. I haven't looked at the specific implementations of either library an