nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
2018-06-27T06:41:23.000358Z

hello, i've been looking at the stdin handling of nrepl while trying to fix CIDER issue 2317 "`(slurp in)` can't be interrupted" - https://github.com/clojure-emacs/cider/issues/2317 after fixing the part where the user couldn't stop the stream, i encountered the following issue: (slurp *in*) will close stdin after it reads EOF and then the nrepl stdin will be closed forever (or until a restart). is that something that should be changed?

bozhidar 2018-06-27T08:03:02.000221Z

@timo.freiberg It’s certainly a bug if we can’t use the the *in* more than once and we should fix this.

bozhidar 2018-06-27T08:03:24.000049Z

Luckily ever since nREPL moved out of clojure-contrib contributions have become pretty easy - https://github.com/nrepl/nrepl/

bozhidar 2018-06-27T08:03:54.000518Z

(the old repo is there just for legal/historical purposes - it was licensed differently to comply with clojure-contrib rules)

bozhidar 2018-06-27T08:04:20.000214Z

Funny enough - I eventually ended up being the maintainer of both CIDER and nREPL. 🙂

2018-06-27T17:00:09.000368Z

@bozhidar yeah i noticed that after your comments this morning 🙂

bozhidar 2018-06-27T22:33:30.000231Z

Well, seems I was the person most motivated to get some improvements in nREPL, as CIDER is so dependent on it. 🙂 Chas didn’t have much time for the project and eventually he handed it over to me and the rest of our team.