Welcome! Please see the
About
page for a little more info on how this works.
GitHub Login
All Activity
Questions
Unanswered
Tags
Ask a Question
About
Ask a Question
Consider adding for-all-2 to address a couple issues
0
votes
asked
Apr 8, 2018
in
test.check
by
jira
In particular:
{{for-all}} bindings are parallel, which is a frequent source of surprise; I think the sequential bindings like {{gen/let}} has could be better, and I think the (link:
https://en.wikipedia.org/wiki/Universal_quantification
text: inspiring mathematical notation) is also sequential
{{for-all}} allows multiple expressions in the body, but all but the last are only executed for side effects; I think the name suggests that only one body expression should be allowed, and this would be less confusing (e.g., TCHECK-121).
request
jira
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 26, 2019
by
jira
Reference:
https://clojure.atlassian.net/browse/TCHECK-146
(reported by gfredericks)
Please
log in
or
register
to add a comment.
Welcome to Clojure Q&A, where you can ask questions and receive answers from members of the Clojure community.
Related questions
Add a prop/for-all alternative to c.t.c.clojure-test that uses clojure.test/is &c
prop/for-all should let later bindings refer to earlier bindings
Consider adding a redirect for old Jira links
test.check doesn't seem to have a macro for asynchronous tests
for-all should support nesting
Categories
All categories
Clojure
(1.5k)
ClojureScript
(612)
ClojureCLR
(27)
Contrib libs
(727)
algo.generic
(3)
algo.monads
(4)
core.async
(112)
core.cache
(19)
core.contracts
(5)
core.logic
(66)
core.match
(44)
core.memoize
(8)
core.rrb-vector
(13)
core.typed
(33)
core.unify
(7)
data.avl
(1)
data.codec
(3)
data.csv
(12)
data.finger-tree
(1)
data.fressian
(6)
data.generators
(3)
data.int-map
(17)
data.json
(18)
data.priority-map
(4)
data.xml
(24)
data.zip
(4)
java.classpath
(2)
java.data
(12)
java.jdbc
(3)
java.jmx
(6)
math.combinatorics
(5)
math.numeric-tower
(1)
replicant
(0)
test.check
(45)
test.generative
(2)
tools.analyzer
(8)
tools.build
(29)
tools.cli
(9)
tools.deps
(120)
tools.deps.graph
(2)
tools.emitter.jvm
(7)
tools.gitlibs
(4)
tools.logging
(6)
tools.macro
(8)
tools.namespace
(29)
tools.reader
(11)
tools.tools
(2)
tools.trace
(5)
Tools
(76)
Meta
(19)
Other
(93)
Beginner
(0)
...