This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-18
Channels
- # announcements (2)
- # aws (3)
- # beginners (35)
- # boot (10)
- # cider (33)
- # cljs-dev (22)
- # clojure (58)
- # clojure-belgium (1)
- # clojure-europe (8)
- # clojure-houston (1)
- # clojure-italy (47)
- # clojure-nl (2)
- # clojure-spec (4)
- # clojure-uk (39)
- # clojurescript (12)
- # cursive (18)
- # data-science (1)
- # datomic (2)
- # emacs (24)
- # figwheel-main (29)
- # fulcro (24)
- # hoplon (14)
- # juxt (6)
- # kaocha (3)
- # nrepl (6)
- # off-topic (64)
- # om (1)
- # om-next (1)
- # pathom (21)
- # pedestal (18)
- # planck (40)
- # protorepl (1)
- # re-frame (15)
- # reagent (7)
- # reitit (16)
- # shadow-cljs (184)
- # spacemacs (4)
- # test-check (33)
It actually just falls back to a tagged representation using str
[1][2] and avoids using any of the pr
machinery – but I’d say that’s a virtue, since it means fipp can guarantee anything it prints is valid EDN (ignoring the print-length
and print-level
settings). pr
only promises that anything it prints can be read by the Clojure (JVM) reader
[1]: https://github.com/brandonbloom/fipp/blob/master/src/fipp/ednize.clj#L38-L42
[2]: https://github.com/brandonbloom/fipp/blob/master/src/fipp/edn.cljc#L68-L73
puget seems to do something a bit special here too, going to investigate that a little, but for another project really.
I have a bit of polish before first real announce, but select-nrepl
is now quite usable. This leverages rewrite-clj and provides ops for finding and selecting the current element, form, or toplevel in some code. https://github.com/eraserhd/select-nrepl
It's smart about what to do if some object is already selected - e.g. repeatedly selecting an element will iterate through elements left-to-right, regardless of nesting. repeatedly selecting forms will find the next-larger form. toplevels will move to the next toplevel.