2006/4/14, David Feuer <address@hidden>:
> Does scm/guile not have such funtions for pairs/complex vectors?
It probably does support complex numbers. Complex numbers, however,
are conceptually quite different from 2D vectors, and I don't feel
comfortable conflating them. It's up to you and Han, of course.
I think that complex numbers are perfect for 2D vectors. I can't imagine a situation were we would need an SCM value that can both be a complex number and a 2d offset, so I think it shouldn't be a problem, but if you're uncomfortable with identifying them, I recommend you add a bunch of aliases, eg:
(define vector-2d-add +)