[plt-scheme] nested vectors

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Feb 16 14:07:18 EST 2009

On Feb 16, e wrote:
> any way to ask a vector it's length?  I tried (length), but it
> seemed to complain that I wasn't dealing with a list.  seems like a
> long road to turn it into a list first.

You want `vector-length'.


> I guess I should look up how to mess with vectors in scheme.  I'm
> thinking you don't need to pass around the length in the interface.

As a starting point, you can go to the documentation search page, and
enter "L:scheme vector" -- it will show you all the bindings that
exist in the `scheme' language that have `vector' in their name.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.