Thank you, that is really helpful! On Wednesday, August 10, 2016 at 11:29:52 AM UTC-6, Toby Crawley wrote: > > clojure.core/bean (https://clojuredocs.org/clojure.core/bean) is what you > want: > > (let [{:keys [day month year]} (bean some-date)] > ...) > > On Wed, Aug 10, 2016 at 12:41 PM, Jacob Strength <mypc...@gmail.com > <javascript:>> 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] > > ...) > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to clo...@googlegroups.com > <javascript:> > > Note that posts from new members are moderated - please be patient with > your > > first post. > > To unsubscribe from this group, send email to > > clojure+u...@googlegroups.com <javascript:> > > For more options, visit this group at > > http://groups.google.com/group/clojure?hl=en > > --- > > You received this message because you are subscribed to the Google > Groups > > "Clojure" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to clojure+u...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/d/optout. >
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.