Fork me on GitHub
#cider
<
2019-06-17
>
Cas Shun18:06:22

Hello, I'm trying wrap cider evals with some clojure code to use REBL. So I need to eval some code, then send the code and result to rebl. How do I get the result of something that's been eval'd through cider? Perhaps I'm thinking about this the wrong way?

carkh18:06:08

mhh a REBL mode for emacs, now that would be grand

bozhidar19:06:48

Most CIDER users just use the CIDER inspector, which is a somewhat similar concept, although REBL is definitely more polished.

dpsutton19:06:54

i know there's https://github.com/RickMoynihan/nrebl.middleware. i've never used it but its a good place to start

carkh20:06:50

these days i'm mostly living in clojurescript land, and i moslty can't make the inspector work. or pretty printing. Looks like cider views the data as a string rather than clojure data structures

carkh20:06:39

that's not always the case, i didn't investigate more on that

carkh20:06:04

and of course i can't reproduce the trouble with inspect right now =)

carkh20:06:23

still pretty printing never worked for me in clojurescript

carkh20:06:50

the inspector is half way there, but the datafy/nav protocols are really what makes REBL interesting

carkh20:06:41

i guess the configurable views is a plus but more icing on the cake rather than fundamental

carkh20:06:47

https://github.com/denisidoro/floki has a nice simple UI for browsing inspected values