test-check

2017-08-08T11:44:42.639477Z

I've occasionally had the idea of mitigating the "some things don't shrink very well" problem by allowing users to provide a fallback shrink strategy, where you just supply a function from x to a collection of smaller xs. Interestingly it looks like hedgehog has exactly that feature: https://hackage.haskell.org/package/hedgehog-0.5/docs/Hedgehog-Gen.html (see the shrink function)

lucasbradstreet 2017-08-08T16:28:06.278503Z

Cool