I want to define a new Token type, Word, that has no more precision than
Double;
for inheritance purposes I can subclass DoubleToken.  My question is,
what do I
have to do to make the new type comparable with other types for lossless
type
conversion.  Do I just live with CPO.INCOMPARABLE, or do I have to
modify some
of the Type classes, such as BaseType, as well?  My intent is that Word
would
simply sit between Int and Double in the type lattice.

Thanks,

 -- Bill Wood

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to