Instrumentation is about verifying that code is invoked correctly (things 
*external* to a function).

The :ret and :fn specs verify that things *internal* to a function are 
working correctly, and that is seen as a testing-time activity with support 
in clojure.spec.test.


On Wednesday, June 15, 2016 at 10:17:43 PM UTC-5, adrian.med...@mail.yu.edu 
wrote:
>
> Thanks for the link Alex. I understand what changed, but I still don't 
> understand why. Could you elaborate on the thought that went into this? 
> Thank you. 
>
> On Wednesday, June 15, 2016 at 7:37:52 PM UTC-4, Alex Miller wrote:
>>
>> Check out the thread at 
>> https://groups.google.com/forum/m/#!topic/clojure/RLQBFJ0vGG4
>>
>> On Jun 15, 2016, at 5:22 PM, adrian...@mail.yu.edu wrote:
>>
>> I was wondering if you could shed some light on why instrument was 
>> changed to not automatically check the :ret and :fn specs. I miss that 
>> feature already, hehe, although I understand that these are alpha versions 
>> and things evolve. :) I just want to understand the context behind this 
>> decision. If I missed relevant discussion already explaining this, I 
>> apologize. 
>>
>>

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

Reply via email to