(set/union a b)
it will auto add the set namespac, it has history etc. Supports paredit.It will also do some autocomplete, although this seems flakey.
(set/union a b)
it will auto add the set namespac, it has history etc. Supports paredit.It will also do some autocomplete, although this seems flakey.
The two most common ways I've seen people accomplish something like that is probably Clojure's builtin inspector functionality and CIDER's general ability to display any kind of image (which conveniently lets it do stuff like plotting as well). If your focus is on the permanence and documentation aspect of the notebook experience, you're probably going to be happier with ob-clojure or Gorilla REPL. If your focus is on the exploratory part, you're probably going to be happier with REBL, or if you really want everything inside an emacs buffer you might do that with walmartlabs' datascope. I do everything with cider-inspect because I don't find the graphical visualization that valuable -- most of my data structures are too large so I ~always end up writing a specter query ~immediately.
All of this is for Clojure specifically. If you're writing in-browser apps you'll probably like frisk (through re-frisk or data-frisk), where you can do this stuff right in your browser next to the app:
http://odinodin.no/x/datafrisk/
https://github.com/flexsurfer/re-frisk
-- but that's not technically in CIDER, though you can certainly use it from CIDER.
[0]https://clojure.github.io/clojure/clojure.datafy-api.html [1]https://github.com/cognitect-labs/REBL-distro
And clojure pretty symbols.
Can you explain this point. Is it possible that you might have forgotten to sync the new code with the repl. Editor and repl use different completion backends in cursive.