Open kantp opened 8 years ago
Yes, this is why we have a submodule dep on smallcheck. For some reason roman has not accepted this PR https://github.com/feuerbach/smallcheck/pull/34
This is among the reasons I'm considering moving away from using smallcheck - https://github.com/fpco/store/issues/17
Oh, I see. That's inconvenient.
We actually should maybe consider changing the instance for Ratio to use Storable. We have two choices:
I think when this decision was made I was working on making all the unit tests pass. I think the other behavior is likely more sensible
I've mitigated this in e9aa2be52fa9e8c37b74f06522507604bd135d85 . This became necessary because tests were failing while building docker images.
@mgsloan I think that this means that the smallcheck submodule is not needed anymore.
Yup, feel free to remove it!
The tests for
Ratio Int8
andRatio Int64
fail with an arithmetic overflow. This is rather strange, given that the implementations ofpoke
,peek
, andsize
do not seem to be performing any kind of arithmetic.