Fork me on GitHub
#cider
<
2019-07-15
>
darioszr10:07:58

Just a question. I do have this

(defn bro []

(doseq [entry ["bra" "bro"]]
  (println entry)  ;; C-C C-E for evaluating here
) 
)

darioszr10:07:21

when I'm using cider, I try to evaluate the expression with C-C C-E but i noticide that i get an error , allthough if I run it in REPL this work fine

darioszr10:07:25

Unable to resolve symbol entry` when I use C-C C-E with cider emacs. I don't figure out why It can't resolve the symbols in a doseq. anyone has idea about this why ? tix

darioszr10:07:54

Or in other words, it is possible to evaluate one iteration in a doseq?

bozhidar11:07:54

@darioszr Normally you’d step over iterations using the debugger.

bozhidar11:07:34

There’s also eval-up-to-point which is probably what you want.

bozhidar11:07:45

Try C-c C-v (C-o).

darioszr11:07:33

thx @bozhidar cider

darioszr11:07:50

I will try it out, always learning new feature on cider :grinning_face_with_star_eyes: