[q-lang-users] Complex numbers
Brought to you by:
agraef
From: John C. <co...@cc...> - 2006-06-12 16:24:26
|
Is there some particular reason why complex numbers (in complex.q) are not a type Complex with a constructor comp_rect? This would be helpful for clean conversion from and to Scheme, and would allow the addition of polar complex numbers if someone needs them. The conversion of complex.q should be extremely straightforward. (Of course, it would be even cooler if 2i, which is currently the useless application of 2 to i, were syntax sugar for "comp_rect 0 2".) -- John Cowan co...@cc... "Not to know The Smiths is not to know K.X.U." --K.X.U. |