We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arbForm n = oneof [ liftM Prop (choose (1, 3)), liftM Neg (arbForm (n `div` 4)), liftM Cnj (vectorOf 2 (arbForm (n `div` 4))), liftM Dsj (vectorOf 2 (arbForm (n `div` 4))), liftM2 Impl (arbForm (n `div` 4)) (arbForm (n `div` 4)), liftM2 Equiv (arbForm (n `div` 4)) (arbForm (n `div` 4)) ]
is too restricted. Better is
arbForm n = oneof [ liftM Prop (choose (1, 3)), liftM Neg (arbForm (n `div` 4)), liftM Cnj (vectorOf (n-1) (arbForm (n `div` 4))), liftM Dsj (vectorOf (n-1) (arbForm (n `div` 4))), liftM2 Impl (arbForm (n `div` 4)) (arbForm (n `div` 4)), liftM2 Equiv (arbForm (n `div` 4)) (arbForm (n `div` 4)) ]
quickCheck propEquiv
better
verboseCheckWith stdArg {maxSize=6} propEquiv
Then n div 4 can be replaced by n div 2
n div 4
n div 2
Well done (=9)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
is too restricted. Better is
better
Then
n div 4
can be replaced byn div 2
Well done (=9)
The text was updated successfully, but these errors were encountered: