Quick question on spec alpha 2

2019-04-02 Thread peterhull90
Taking the examples from the wiki , (s/def ::addr (s/schema [::street ::city ::state ::zip])) (s/def ::company-addr (s/union ::addr [::company ::suite])) Is the second line equivalent to: (s/def ::company-addr

Re: Trouble with advanced macros

2019-03-29 Thread peterhull90
How about: (def dict {:key `(str "obj isn't defined in this scope" (:blah ~'obj))}) (defmacro my-macro [inobj & args] `(let [~'obj ~inobj] (print ~(:key dict) ~@args))) (macroexpand '(my-macro {:blah "thingy"}

Re: [ANN] Clojure 1.10 has been released!

2018-12-17 Thread peterhull90
On Monday, 17 December 2018 17:30:01 UTC, Alex Miller wrote: > > Clojure 1.10 focuses on two major areas: improved error reporting and Java > compatibility. > > > I'm not touching it until Sean Corfield has it running in production ;) Seriously, well done everyone and thank you! -- You

Re: [ANN] Ikota

2018-12-13 Thread peterhull90
On Thursday, 13 December 2018 17:04:08 UTC, Sonny To wrote: > > Yet another Hiccup implementation for Clojure and ClojureScript > Looks good. What's the difference between this and the original weavejester Hiccup? -- You received this message because you are subscribed to the Google Groups