>From https://clojure.org/guides/spec#_collections:
*One important aspect of coll-of and map-of is that they both sample their 
inputs, checking only a subset of the values for performance reasons. Due 
to this, conform of these specs does not flow conformed values (because 
they are not all conformed).*

>From playing around a bit and reading the sources I came to the conclusion 
that the above means that values are indeed returned by conform but those 
values (specifically, from the sources, after the first 100 values) do 
not necessarily conform to the predicates, is that the correct way to read 
the above?
Are there any plans of implementing a more statistical approach in the 
future in order to increase the chance of finding bugs?
Is it a bad idea to bind *coll-check-limit* to infinity in a local thread 
binding for more thorough possibly time and CPU consuming testing of a 
specific function?

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