Re: ANN: jedi-time 0.1.4

2020-02-02 Thread Sean Corfield
Think of it as a square: You start with an object of some sort (left side) -> datafy -> turns it into pure Clojure data (including metadata). (right side) Given pure Clojure data, you can navigate through it with get etc and you stay in the right side (pure data). Given that pure Clojure data,

RE: ANN: jedi-time 0.1.4

2020-02-02 Thread Dimitrios Jim Piliouras
I think I need to clarify the following points in my head: 1. Was `nav` conceived to complement `datafy` specifically in the context of REBL (and not really anywhere else)? 2. How useful is a datafied datetime (outside the context of REBL), if it can’t be easily formatted, queried, shifted or

RE: ANN: jedi-time 0.1.4

2020-02-02 Thread Dimitrios Jim Piliouras
Hi Sean, Admittedly, I’ve never used REBL, and I did struggle with the shape and name of the `nav` arguments... In particular I’m struggling to understand why would anyone use `nav` to navigate to a key that already exists in the map...Can’t we just use `get` or `get-in`? You used the