
7 Jun
2014
7 Jun
'14
6:56 p.m.
Hello, Let's say we want to quickcheck the function !!. Passing a negative index to it is an error. However, how can you make a check that it indeed errors in such situation? prop_negative_index_generates_error list = forAll negativeIndex \x -> ... What should I write in ...? []'s Rafael