Fork me on GitHub
#cider
<
2018-12-13
>
rickmoynihan09:12:27

@bozhidar: Thanks for your recent reply to my github issue. As an aside will this: https://github.com/RickMoynihan/nrebl.middleware/blob/6f8f410f2e50b50ee1b554317fda1fdd825c7a75/src/nrebl/middleware.clj#L37-L40 always guarantee that my response middleware occurs after eval and before pr-values? It feels like I need to also specify pr-values in there (presumably as a :requires in order to force mine to always be between those two.

bozhidar09:12:29

Yeah, you have to be a bit more specific in the descriptor to make sure the middleware gets inserted properly in the final vector.

rickmoynihan10:12:17

Cool. Will give that a try. Is there an easy way to inspect the order of the final middlewares?

andrea.crotti10:12:25

I just filed an issue to yagni https://github.com/venantius/yagni/issues/45 but there might be a chance that it's a cider-nrepl issue maybe?

nickstares017:12:42

Can the result of cider-interactive-eval be made to be sent to repl? If I get an error it is currently sent to the *Messages* buffer

dpsutton17:12:03

try using the cider-insert-* style commands. they will do what the interactive ones do but put it in the repl instead. There's a map at C-c C-j [key] where k is defun, expression, and region

nickstares017:12:14

Thanks! In my case (cider-insert-in-repl "(do (ns user) (reset))" 't) did the trick.