Personal tools

GHC/Error messages

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m ("is not a (visible) method of class")
("Foo' is not a (visible) method of class `Bar'")
Line 10: Line 10:
== "Foo' is not a (visible) method of class `Bar'" ==
== "Foo' is not a (visible) method of class `Bar'" ==
-
TODO
+
This error message occurs when one tries to instantiate a class, but did not import the functions one tries to implement.
Example: TODO
Example: TODO

Revision as of 17:01, 9 October 2009

GHC error messages and their meaning.

1 "Parse error in pattern"

TODO

Example: TODO


2 "Foo' is not a (visible) method of class `Bar'"

This error message occurs when one tries to instantiate a class, but did not import the functions one tries to implement.

Example: TODO