Re: stch.schema a Prismatic Schema fork

2014-02-07 Thread david
Thanks for pointing that out. Changed defn*, defrecord*, fn*, letfn* to defn', defrecord', fn', and letfn'. Added tests for fn' and letfn'. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.co

Re: stch.schema a Prismatic Schema fork

2014-02-06 Thread Leif
fn* and letfn* are special forms. I would double-check that things work as you expect if you (use 'stch.schema). E.g.: > (use 'stch.schema) > (macroexpand '(fn* simple-fn :- Int [x :- Int] (inc x))) ; => (fn* simple-fn :- Int [x :- Int] (inc x)) ; nope, can't expand special form > (macroexpand

stch.schema a Prismatic Schema fork

2014-02-06 Thread david
Please check out the repo README page for motivations and differences. Thanks so much to the Prismatic people for open sourcing Schema. It's awesome and I love it. Some of my changes seemed too different to even consider a pull request, so I decided to create my own fork. All feedback is we