I need to use QuickCheck to check if a list of integers is truly shuffled
prop_fastShuffle_correct :: [Int] -> Property
prop_fastShuffle_correct s = ???
My shuffle function has this signature:
fastShuffle :: [a] -> IO [a]
No need to go for full correctness of every potential property of your shuffle, e.g., that it’s pseudorandom.
Can someone point me into the right direction? I'm not too familiar with QuickCheck.