Ralf Hemmecke <[EMAIL PROTECTED]> writes: > > Now, I would like that for domains of the same category, say > > UnivariatePolynomialCategory, that differ only in the representation of > > their elements, say sparse or dense, we would have > > > A has CoercibleTo B and B has CoercibleTo A > > OK, let's say I take AbelianMonoid as a category. For A, I take Integer and > for B, I take String (just let's suppose 0: String is the empty string and +: > (String, String) -> String is concatenation.
One can hardly say that these two domains differ only in the representation of their elements. So, I should have been more precise: There are categories (like for example UPOLYC), where it makes sense to have for any two domains A and B of that category A has CoercibleTo B and B has CoercibleTo A. However, it seems that this cannot be expressed in SPAD or Aldor. Somehow, it might be nice to have the possibility to say with CoercibleTo B where B has SomeCategory Martin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel