unrepl

discussing specification of an edn-based repl and its implementations.
richiardiandrea 2017-07-09T07:54:38.533968Z

I wonder how much of a good idea would be to refactor a lib out of cider-nrepl, exposing common repl functionality (like the brand new spec explorer)

dominicm 2017-07-09T11:53:17.266104Z

@richiardiandrea I've been thinking about this too. cider-nrepl could be uh, cider? (and cider could be cider.el!).

dominicm 2017-07-09T11:56:38.276770Z

https://github.com/tpope/vim-fireplace/pull/80 this was catching onto something similar via https://github.com/ctford/poker

cgrand 2017-07-09T15:29:54.134474Z

The problem with macro-like destructuring is that you lose a lot: comments, formatting, various readers (discard, tagged, conditional), sets and maps original order is not preserved, numbers representations are lost (base N, ratios). Been there somehow done that.

richiardiandrea 2017-07-09T15:33:06.149431Z

wow, I actually did not know that nRepl was the responsible of printing a lot of stuff: https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/print_method.clj

richiardiandrea 2017-07-09T15:34:10.153970Z

and TIL about MultiFn

dominicm 2017-07-09T17:07:43.591142Z

@richiardiandrea originally that was an optional namespace.

dominicm 2017-07-09T17:08:14.593660Z

@cgrand yep, but core concept holds. rewrite-clj(s) is pretty great in preserving whitespace & such