So you example above should basically work, but note that the method
for `<pair>' will always override the one for `<list>', since the
latter is a supertype of the former.

That is the problem i am talking about. I know the reason. The new version (1.4) does not fix that. I can not call a specialized method for <list> if it is specialized for <pair> too. One solution is to specialize show for <list> after that one for <pair>. That is not possible if <pair> should inherit from <list>. ... Ok, i have to change that in my local version of coops and mention it in the documentation.

Sandro


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to