| I wrote some extremely simple code for vectors. The supported operations are detailed in the README, and you can get the zip of everything at http://www.monkeytex.com/random/vec.zip. In short, you get (vec) to create a vector, (vec-add) to add an element, (vec-get) to get an element at the given index, and (len) to get the length of the vector. If someone could make it better or cleaner, I'd love to see it. This was good enough for me, but I'm sure it will be inadequate for some. |