Doubt about "Destructuring rest sequences as map key/value pairs"

2013-09-28 Thread Daniel Meneses Báez
lastname "Meneses")* *"Daniel Meneses"* *user=> (my-name :name "Daniel")* *"Daniel "* * * can someone explain to me, why the :or map isn't being used?* * thanks in advance :D -- Daniel Meneses Báez -- -- You received this message because you are

Re: calling java static member using string?

2013-08-14 Thread Daniel Meneses Báez
> user=> > > You don't need to use all the Java interop syntax you're using, you can > refer to and compare these static fields directly. In the end these are > simply Integer comparisons. > > DD > > (2013/08/14 11:45), Daniel Meneses Báez wrote: > >

Re: calling java static member using string?

2013-08-14 Thread Daniel Meneses Báez
;; false >> (p/wednesday? (time/now)) ;; true (for me in California since (time/now) >> is UTC) >> >> (p/monday? (local/local-now)) ;; false >> (p/tuesday? (local/local-now)) ;; true (for me) >> (p/wednesday? (local/local-now)) ;; false (not yet in California) &

Re: calling java static member using string?

2013-08-13 Thread Daniel Meneses Báez
t] `(= (.get ~instant Calendar/DAY_OF_WEEK) (. Calendar (symbol ~s #'user/is user> (is "TUESDAY" (Calendar/getInstance)) CompilerException java.lang.IllegalArgumentException: No matching method: symbol, compiling:(NO_SOURCE_PATH:1:1) user> isn't working

calling java static member using string?

2013-08-13 Thread Daniel Meneses Báez
btw I'm really loving the language. -- Daniel Meneses Báez -- -- 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 pa