Commit ef33e424 authored by simonpj's avatar simonpj
Browse files

[project @ 1999-11-11 17:52:58 by simonpj]

Small test fixes
parent 90c6cd0e
drvfail004.hs:5:
Could not deduce `Eq (Foo a b)'
(arising from an instance declaration at drvfail004.hs:5)
from the context: (Ord a1, Ord b1)
Could not deduce `Eq (Foo a b)' from the context: (Ord a1, Ord b1)
Probable cause: missing `Eq (Foo a b)'
in instance declaration context
or missing instance declaration for `Eq (Foo a b)'
When checking the superclasses of an instance declaration
arising from an instance declaration at drvfail004.hs:5
Compilation had errors
......@@ -11,8 +11,8 @@
, <<Maybe Int>>
, <<Maybe Int>>
, <<Maybe Int>>
, <<Maybe Int Int>>
, <<Maybe Char Char>>
, <<Either Int Bool>>
, <<Either Char Int>>
, <<()>>
, <<Ordering>>
, <<((),Int)>>
......
......@@ -3,7 +3,7 @@ module Main(main) where
import Exception
import Word
import Int( Num(fromInt) )
import Int( Num(fromInt), Integral(toInt) )
main = do
putStrLn "Testing Enum Word8:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment