Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thanks! I corrected the property using
NonNegative.Relying blindly on Quickcheck is bad practice. For instance in this case, by removing the
newtype Inputdefinition, the random tests now generate arrays with negative numbers, which goes against the description.Thank you very much for your contribution! I tried to simplify the tests in my fork of your translation.
isnt that slow?
gnihihi
black magic
copious copies of liftAN and compose really can make absolutely anything pointfree
Thanks!
Fixed
That's awesome, thanks!
This appears to only be an issue with the sample tests (the full tests have
gen15 = choose (0, 15)). My recently published fork fixes this in the sample tests.!-)
Seems to be the oldest thread here from ten years ago, but I don't see it resolved in the code.
Please correct me if I'm mistaken:
In the Haskell property test suite though there is
gen15 = choose (0, 16)which generates polynomsx^16as the range ofchooseis inclusive.Loading more items...