-
Providing `fmap`, `id`, and `.` to Speculate results in
```
_ :: Int (holes: Int)
_ :: [Int] (holes: [Int])
fmap :: (Int -> Int) -> [Int] -> [Int]
id :: Int -> Int
(.) :: (Int -> Int) -> (In…
-
We need some form of test suite to make sure we catch silly bugs.
* One thing to do would be to add regression tests by making sure the output of QuickSpec doesn't change across commits unless stat…
-
`sort`, `sortBy`, and `sortOn` are all supposed to be stable sorts, but we only test stability for `sortBy`.
-
There are certainly some things which could benefit from property testing, if someone was willing to write the `Arbitrary` or `Listable` instances. Here are a few I spotted skimming through Test.Deja…
-
```haskell
{-# LANGUAGE TemplateHaskell #-}
import Test.Extrapolate
-- incorrect property:
prop_lengthTake :: Int -> [Int] -> Bool
prop_lengthTake n xs = n >= 0 ==> length (take n xs) == n
m…
-
Current stack allows to write this new syntax:
```
extra-deps:
- git: git@github.com:NorfairKing/validity.git
commit: a86dd3e4830c14c056a0d5d8712864d395d25b2a
```
the old syntax for this w…