W liście z śro, 22-10-2003, godz. 06:15, Kenny pisze: > instance (Myeq a,Myeq [a]) => Myeq [a] where > myeq (x:xs) (y:ys) = (myeq x y)&&(myeq xs ys) > > I want to make the 2nd call of myeq to be of an instance function > from the context instead of a recursive call.
Why? Since there can be at most one Myeq [a] instance in a program, this is the same. -- __("< Marcin Kowalczyk \__/ [EMAIL PROTECTED] ^^ http://qrnik.knm.org.pl/~qrczak/ _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell