If anyone dabbles with Standard ML, there's now a package on github that gives you "cider-like" interactive REPL behavior: https://github.com/hkjels/sml-repl-mode
I see that there are some inaccuracies in the README now, but the mode works pretty good 🙂
I dunno, seems like for standard ml you should be using ed, the standard editor 🤓
Yeah. But for toy-stuff it actually feels quite nice 😊
does CIDER (or Prelude's config of CIDER) do a doseq on map? I see that (type (map str (range))) gives me clojure.lang.LazySeq, but when I give the REPL just (map str (range)) the output only stops because of truncation.
(last few lines of (map str (range)):
"115964"
"115965"
"115966"
"115967"
"1159
... output truncated to 1MB ...The P in repl is what is doing this. Cider has a middleware to affect printing that actually stops it after what it considers too much output
I see. That makes sense. Thank you!
iirc cider-print-quota is the var that controls it. The REPL will attempt to realize the lazy sequence until it hits the print quota limit.
either explicitly limit output (take n ...), increase that var or work with the sequence using other operations without trying to print it directly