Fork me on GitHub
#cider
<
2017-10-12
>
qle-guen07:10:38

hello, is there a way to access the result of the last command?

jmayaalv07:10:35

@qle-guen there is M-x cider-inspect-last-result

qle-guen07:10:58

@jmayaalv ah, yes, it helps, but what I'd like is to the result of the last sexp in cider to be stored

qle-guen07:10:11

like, I think there's something like this in ghci

qle-guen07:10:50

so like I sometimes have a big IO operation and I'd like to manipulate the result of it without having to execute it again

jumar11:10:08

@qle-guen you can use *1 (also *2 and *3) for that purpose - this is a standard clojure repl functionality

qle-guen12:10:20

@jumar yes excellent, that is what I was looking for, thanks