Re: Destructure Date Object

2016-08-12 Thread Jacob Strength
al with lots of dates... > > (defn inst->map > [^Calendar t] > {:year (.get t Calendar/YEAR :month (.get Calendar/MONTH) :day (.get > Calendar/DAY_OF_MONTH)}) > > > On 10 August 2016 at 19:05, Jacob Strength > wrote: > > Thank you, that is really helpful

Re: Destructure Date Object

2016-08-10 Thread Jacob Strength
Aug 10, 2016 at 12:41 PM, Jacob Strength > wrote: > > I'm just curious if it is possible to destructure a date object in say a > let > > form? > > For example can I do something like this: > > (let [{:keys [day month year]} some-date] > > ...) > &g

Destructure Date Object

2016-08-10 Thread Jacob Strength
I'm just curious if it is possible to destructure a date object in say a let form? For example can I do something like this: (let [{:keys [day month year]} some-date] ...) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send e

Re: Clojure News is out

2016-07-19 Thread Jacob Strength
This looks great! I was just curious though, what are the advantages of this over say the Clojure page on reddit? To me it seems very similar. On Friday, July 15, 2016 at 9:28:12 AM UTC-6, Ertuğrul Çetin wrote: > > Hi Everyone, > > I'm very excited to announce that Clojure News(Beta) https://cloj

Re: clj-uuid: time-based uuid now 350% faster than java.util.UUID/randomUUID

2015-03-03 Thread Jacob Strength
That is pretty amazing, I'll have to remember this library next time I need to use UUID's. Also I think you meant 450% faster. On Sunday, March 1, 2015 at 5:35:16 PM UTC-7, danl...@gmail.com wrote: > > Ok, for anyone following my adventures optimizing clj-uuid, I've gotten > another substantial