vlaaad / reveal

Read Eval Visualize Loop for Clojure

Home Page:https://vlaaad.github.io/reveal/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better support for clojure.lang.PersistentQueue and other core Clojure data structures

rbeesley opened this issue · comments

Consider the following:

  (pop
   (->
    (clojure.lang.PersistentQueue/EMPTY)
    (conj "Item 1")
    (conj "Item 2")))

The output in Reveal is:
image

When shown as a table it is something which can be navigated, however this is the output for Cavla:
image

The representation of the data is actually easier to digest in Calva than it is in Reveal without navigating into the object itself. I believe this could be addressed with extending, but it also seems that core Clojure structures should naturally come with a friendlier representation OOTB.

Hi! Thanks, I think it makes sense to show queue in a more list-like form, maybe #reveal/persistent-queue(...) or just (...).

Fixed in 1.3.194