RE: ANN: jedi-time 0.1.4

2020-02-10 Thread Sean Corfield
7;re not annoying somebody, you're not really alive." -- Margaret Atwood From: dimitris Sent: Monday, February 10, 2020 2:20 PM To: clojure@googlegroups.com Subject: Re: ANN: jedi-time 0.1.4 On 10/02/2020 20:45, Sean Corfield wrote: > I’m suggesting that if you add certain key/value

Re: ANN: jedi-time 0.1.4

2020-02-10 Thread dimitris
On 10/02/2020 20:45, Sean Corfield wrote: I’m suggesting that if you add certain key/value pairs to the datafied Java Time values, nav could recognize those as navigation from data to “stuff”. This gets you much closer to your original concept while staying within the datafy/nav confines. The

RE: ANN: jedi-time 0.1.4

2020-02-10 Thread Sean Corfield
SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood From: dimitris Sent: Monday, February 10, 2020 4:50 AM To: clojure@googlegroups.com Subject: Re: ANN: jedi-time 0.1.4 Ok, I'm glad dataf

Re: ANN: jedi-time 0.1.4

2020-02-10 Thread dimitris
really don’t understand what is the point of `nav`. kind regards, Dimitris *From: *Sean Corfield <mailto:s...@corfield.org> *Sent: *02 February 2020 07:36 *To: *Clojure Mailing List

Re: ANN: jedi-time 0.1.4

2020-02-09 Thread Sean Corfield
/ >>>> >>>> >>>> On Sun, Feb 2, 2020 at 1:22 AM Dimitrios Jim Piliouras < >>>> jimpil1...@gmail.com> wrote: >>>> >>>>> Hi Sean, >>>>> >>>>> >>>>> >>>>> Admitted

Re: ANN: jedi-time 0.1.4

2020-02-09 Thread dimitris
Dimitris *From: *Sean Corfield <mailto:s...@corfield.org> *Sent: *02 February 2020 07:36 *To: *Clojure Mailing List <mailto:clojure@googlegroups.com> *Subject: *Re: ANN: jedi-time 0.1.4 This

Re: ANN: jedi-time 0.1.4

2020-02-09 Thread Sean Corfield
> >>>> >>>> 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 :format as an

Re: ANN: jedi-time 0.1.4

2020-02-09 Thread dimitris
Dimitris *From: *Sean Corfield <mailto:s...@corfield.org> *Sent: *02 February 2020 07:36 *To: *Clojure Mailing List <mailto:clojure@googlegroups.com> *Subject: *Re: ANN: jedi-time 0.1.4 This is very cool but I would strongly reco

Re: ANN: jedi-time 0.1.4

2020-02-03 Thread Sean Corfield
ng pattern as the last arg to nav. But again, :format is NOT in the >>> datafied representation. >>> >>> >>> >>> In essence, I’ve tried to use `nav` to navigate to things that can be >>> expensive and don’t necessarily belong in the actual datafied &

Re: ANN: jedi-time 0.1.4

2020-02-03 Thread Dimitrios Jim Piliouras
e a key already present >> in the map, then I really don’t understand what is the point of `nav`. >> >> >> >> kind regards, >> >> Dimitris >> >> >> >> >> >> *From: *Sean Corfield >> *Sent: *02 February 2020 07:36 &

Re: ANN: jedi-time 0.1.4

2020-02-02 Thread Sean Corfield
ted to be a key already present > in the map, then I really don’t understand what is the point of `nav`. > > > > kind regards, > > Dimitris > > > > > > *From: *Sean Corfield > *Sent: *02 February 2020 07:36 > *To: *Clojure Mailing List > *Subject: *Re: A

RE: ANN: jedi-time 0.1.4

2020-02-02 Thread Dimitrios Jim Piliouras
converted to an alternate version? 3. Why would I ever navigate the existing keys of a map via `nav` (as opposed to the standard functions)? Kind regards, Dimitris From: Dimitrios Jim Piliouras Sent: 02 February 2020 09:22 To: clojure@googlegroups.com Subject: RE: ANN: jedi-time 0.1.4 Hi Sean

RE: ANN: jedi-time 0.1.4

2020-02-02 Thread Dimitrios Jim Piliouras
. If the second argument to `nav`, is expected to be a key already present in the map, then I really don’t understand what is the point of `nav`. kind regards, Dimitris From: Sean Corfield Sent: 02 February 2020 07:36 To: Clojure Mailing List Subject: Re: ANN: jedi-time 0.1.4 This is very cool

Re: ANN: jedi-time 0.1.4

2020-02-01 Thread Sean Corfield
This is very cool but I would strongly recommend you try using this with REBL so you can figure out how to make the `nav` part work in a more natural way. nav is intended to work with a key and value (from the datafied structure), but your nav expects special values so it doesn't work with REBL.