Re: A question about overloading

2003-11-08 Thread Hamilton Richards
At 7:02 PM -0800 11/8/03, Ryoko Nanase wrote: Hello, everyone. I can't use any instance of type "Int". Every other type is working, but not Int and Float. In the following source, "isTrue 'T'" is working, but "isTrue 0" is not working, printing "Unresolved overloading - Type : (Num a, Boolable

A question about overloading

2003-11-08 Thread Ryoko Nanase
Hello, everyone.I can't use any instance of type "Int". Every other type is working, but not Int and Float. In the following source, "isTrue 'T'" is working, but "isTrue 0" is not working, printing "Unresolved overloading - Type : (Num a, Boolable a) => Bool". Can you tell me how to solve this pro