This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-02
Channels
- # announcements (5)
- # beginners (35)
- # calva (15)
- # chlorine-clover (9)
- # clj-kondo (8)
- # clojure (34)
- # clojure-europe (6)
- # clojure-uk (1)
- # clojurescript (4)
- # conjure (23)
- # data-science (2)
- # datalog (6)
- # emacs (1)
- # events (8)
- # figwheel-main (3)
- # fulcro (10)
- # jackdaw (3)
- # joker (1)
- # kaocha (1)
- # malli (4)
- # nrepl (1)
- # off-topic (1)
- # pathom (1)
- # re-frame (4)
- # reagent (2)
- # reveal (11)
- # rewrite-clj (15)
- # rum (1)
- # sci (61)
- # shadow-cljs (1)
I'm trying to use it instead of REBL for a while with Atom/Chlorine, so I've modified my "REBL submit" code to simply tap>
all the values since Reveal adds a tap by default (very nice and simple). I'm just very used to being able to nav
on map elements when I'm in table view 🙂
It looks like you don't currently support datafy/nav on general values? e.g., I use jedi-time which extends datafy/nav to Java Time but Reveal doesn't currently recognize that... I assume that's part of the "to do: improve datafy/nav support"?
Yeah, currently datafy/nav only works in the context of collections — because nav is defined in the terms of navigating to key in a collection. I need to figure out what to pass it when there is no collection...
For Jedi Time, the datafy turns the Java Time objects into hash maps and then you can nav those like normal hash maps.
Been using it for an hour and a half on both Mac and Windows. Really liking how lightweight it is. Missing some of the fancier REBL stuff around Vars (realizing that I really rely on the multi-pane display that shows value, meta, and table view all at the same time... hahaha). I think my biggest complaint so far is if you tap>
a bunch of large values into Reveal, it seems hard to navigate via the keyboard down to the bottom of the last value.
Would it make sense for a promise
to be watchable?
I guess since it only ever gets one value, deref makes sense but watch does not. Fair enough.
I've updated my Atom/Chlorine setup to tap>
all evaluations if Cognitect's REBL is not on the classpath, so that it works nicely with Reveal. https://github.com/seancorfield/atom-chlorine-setup
Reveal doesn't do anything special with Vars or namespaces, whereas REBL extends datafy
to the Java types behind those and provides a way to navigate through usages/references.