"No default for Main.Class13 at nopos.(861,[(366,865)])"
20 Dec
2001
20 Dec
'01
2:31 a.m.
What does No default for Main.Class13 at nopos.(861,[(366,865)]) mean? The class looks like class Class13 a where class13_1 :: a -> Int class13_2 :: String followed by a nestable comment and then another class. Thanks Ian
20 Dec
20 Dec
6:46 p.m.
What does No default for Main.Class13 at nopos.(861,[(366,865)]) mean?
I'm not sure. It might be a cryptic way of saying that the class definition is incorrect.
The class looks like
class Class13 a where class13_1 :: a -> Int class13_2 :: String
This is illegal - all methods of the class must have a type involving the constrained variable a. Regards, Malcolm
8735
Age (days ago)
8736
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ian Lynagh -
Malcolm Wallace