[EMAIL PROTECTED] writes:

> Hi,
>
> I'm experimenting trying to use complex numbers specialized on fixnums
> in place of a 2 element simple-vector.

Are the characteristics of your objects isomorphic to those of complex
numbers? I.e., does the result of multiplication have a useful analog in
the 2-element vector domain? If not, you're abusing the type system. You
should abstract the interface to these pairs and implement them using
cons cells, most likely.

-- 
Rahul Jain
[EMAIL PROTECTED]
Professional Software Developer, Amateur Quantum Mechanicist


Reply via email to