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.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/groups/opt_out.


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 welcome.

https://github.com/stch-library/schema

-- 
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/groups/opt_out.


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/fn* simple-fn :- Int [x :- Int] (inc x)))
; = (let* [ufv__ stch.schema.util/use-fn-validation ...) ; works

--Leif

On Thursday, February 6, 2014 2:18:58 PM UTC-5, da...@dsargeant.com wrote:

 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 welcome.

 https://github.com/stch-library/schema


-- 
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/groups/opt_out.