I have a question: "both" is deprecated with a note to use "s/conditional" instead. However, that doesn't work for my case.
I have the following: (s/both s/Int (s/pred pos?)) If I rewrite it to (s/conditional pos? s/Int), this throws: (s/check (s/conditional pos? s/Int) "") Since (as far as I can tell), I can't verify the type is numeric before applying pos? I could do this: (s/conditional number? (s/pred pos?)), but I'm going to guess this will defeat test.check support, which I'd like to use. Thoughts? On Tue, Sep 1, 2015 at 2:02 PM, Jason Wolfe <ja...@w01fe.com> wrote: > We're excited to finally bring Schema out of alpha, while introducing some > new exciting features around testing: test.check integration and data > completion. Check out the blog post for details about these new > applications. > > http://blog.getprismatic.com/schema-1-0-released/ > > We've also rewritten the internals of schema for this release, to make it > easier and faster to add new schema types and applications. We expect > ordinary users of Schema should see no breaking changes, but custom schema > types or tooling will likely need to be updated. Please see the changelog > for details. > > https://github.com/Prismatic/schema/blob/master/CHANGELOG.md > > Comments and suggestions welcome! > > -- > 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. > -- 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.