File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 66packages: []
77snapshots:
88- completed:
9- size: 533252
10- url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/27 .yaml
11- sha256: c2aaae52beeacf6a5727c1010f50e89d03869abfab6d2c2658ade9da8ed50c73
12- original: lts-16.27
9+ size: 534126
10+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/31 .yaml
11+ sha256: 637fb77049b25560622a224845b7acfe81a09fdb6a96a3c75997a10b651667f6
12+ original: lts-16.31
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ replicateProp1 :: Int -> Int -> Bool
8080replicateProp1 n x =
8181 let
8282 repls = E5. replicate n x
83- in length repls == n
83+ in ( length repls == n) || (n < 0 && length repls == 0 )
8484
8585-- | QuickCheck proposition for testing Exercises05.!!
8686indexProp :: [Int ] -> Int -> Bool
You can’t perform that action at this time.
0 commit comments