[8 of 8] Compiling Main ( Test.hs, dist/build/heap-tests/heap-tests-tmp/Main.o )
Test.hs:15:10: error:
• The constructor ‘Success’ should have 6 arguments, but has been given 3
• In the pattern: Success _ _ _
In a case alternative:
(Success _ _ _)
-> do putStrLn "Tests for Data.Heap.Internal:" >> Internal.runTests
>> putStrLn ""
putStrLn "Tests for Data.Heap.Item:" >> Item.runTests
>> putStrLn ""
putStrLn "Tests for Data.Heap:" >> Heap.runTests
In a stmt of a 'do' block:
case result of
(Success _ _ _)
-> do putStrLn "Tests for Data.Heap.Internal:" >> Internal.runTests
>> putStrLn ""
putStrLn "Tests for Data.Heap.Item:" >> Item.runTests
>> putStrLn ""
....
_ -> return ()
|
15 | (Success _ _ _) -> do
| ^^^^^^^^^^^^^
I'll mark this as an expected test failure for now in Stackage.