Re: Subvector

2011-05-16 Thread Christophe Grand
...@gmail.com wrote: Hi All- I am sure I am just missing this in contrib somewhere , but I am trying to find a subvector such that it returns the rest of the vector at the first occurrence of a value (def v ['a 'b 'c 'd 'e 'f 'g]) (my-fun 'c v) = ['c 'd 'e 'f 'g] I need

Subvector

2011-05-14 Thread Base
Hi All- I am sure I am just missing this in contrib somewhere , but I am trying to find a subvector such that it returns the rest of the vector at the first occurrence of a value (def v ['a 'b 'c 'd 'e 'f 'g]) (my-fun 'c v) = ['c 'd 'e 'f 'g] I need this to be *really* efficient (who

Re: Subvector

2011-05-14 Thread Jonathan Fischer Friberg
: 315.532724 msecs Jonathan On Sat, May 14, 2011 at 7:32 PM, Base basselh...@gmail.com wrote: Hi All- I am sure I am just missing this in contrib somewhere , but I am trying to find a subvector such that it returns the rest of the vector at the first occurrence of a value (def v

Re: Subvector

2011-05-14 Thread Ken Wesson
On Sat, May 14, 2011 at 1:32 PM, Base basselh...@gmail.com wrote: Hi All- I am sure I am just missing this in contrib somewhere , but I am trying to find a subvector such that it returns the rest of the vector at the first occurrence of a value (def v ['a 'b 'c 'd 'e 'f 'g]) (my-fun