reveal

Docs: https://vlaaad.github.io/reveal/ Source: https://github.com/vlaaad/reveal
seancorfield 2020-08-02T00:07:12.166600Z

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 🙂

seancorfield 2020-08-02T00:11:09.168100Z

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

seancorfield 2020-08-02T19:07:34.172800Z

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

vlaaad 2020-08-02T19:09:10.173200Z

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

seancorfield 2020-08-02T01:38:32.171100Z

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.

seancorfield 2020-08-02T02:01:55.171500Z

Would it make sense for a promise to be watchable?

seancorfield 2020-08-02T19:08:30.173Z

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

vlaaad 2020-08-02T05:38:09.171800Z

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

vlaaad 2020-08-02T05:39:51.172Z

Hmm yes, I'm not sure it can work from the table view... I'll have a look

vlaaad 2020-08-02T05:41:15.172200Z

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

seancorfield 2020-08-02T21:22:35.174300Z

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

seancorfield 2020-08-02T21:32:22.175700Z

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.