Non-exhaustive patterns in function provSrcLoc

1999-06-13 Thread Michael Weber
Hi! Yes, I know, the following code snippets are wrong, because instances are always imported. The compiler yields an error message, like it should: Foo1.lhs:2: Duplicate or overlapping instance declarations for `Read FooData' Name.lhs:382: Non-exhaustive patterns in function

Modules with empty export lists

1999-06-13 Thread Michael Weber
Hi! The following code produces: MTest.lhs:2:10: parse error on input: ")" although this should be perfectly ok... consider a module that just imports instance declarations... Cheers, Michael \begin{code} module M() where instance Show ... \end{code} -- XXXVII: Ninety