I am trying to use a combination of fdef and instrument in spec, and I was wondering if there is a way to apply a condition to each of the :args and be able to report the argument number on which the precondition fails. For instance, we require all args (in a function with a variable number of arguments) to be numbers, and get the message that says that the third argument has failed this condition.
Thanks! Elena -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
