Merge branch 'testing' into Mapping

This commit is contained in:
Jonas Betzendahl
2014-04-28 23:36:41 +02:00
4 changed files with 26 additions and 25 deletions

View File

@ -39,6 +39,3 @@ giveNeighbourhood mp n (a,b) = let ns = giveNeighbours mp (a,b) in
-- removing duplicates in O(n log n), losing order and adding Ord requirement
remdups :: Ord a => [a] -> [a]
remdups = map head . group . sort
prop_rd_idempot :: [Int] -> Bool
prop_rd_idempot xs = remdups xs == (remdups . remdups) xs