Fork me on GitHub
#reveal
<
2020-08-02
>
seancorfield00:08:12

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 🙂

seancorfield00:08:09

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"?

vlaaad05:08:09

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...

seancorfield19:08:34

For Jedi Time, the datafy turns the Java Time objects into hash maps and then you can nav those like normal hash maps.

vlaaad19:08:10

Yeah, this part of datafy/nav support is missing...

seancorfield01:08:32

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.

seancorfield02:08:55

Would it make sense for a promise to be watchable?

vlaaad05:08:15

You can deref it from the context menu, it shouldn't block reveal ui

seancorfield19:08:30

I guess since it only ever gets one value, deref makes sense but watch does not. Fair enough.

seancorfield21:08:35

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

seancorfield21:08:22

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.