Re: Subvector

2011-05-16 Thread Christophe Grand
uot;Elapsed time: 315.532724 msecs" > > Jonathan > > > On Sat, May 14, 2011 at 7:32 PM, Base 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

Re: Subvector

2011-05-14 Thread Ken Wesson
On Sat, May 14, 2011 at 1:32 PM, Base 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

Re: Subvector

2011-05-14 Thread Jonathan Fischer Friberg
#x27;[a b c x d f]))) => "Elapsed time: 315.532724 msecs" Jonathan On Sat, May 14, 2011 at 7:32 PM, Base 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 >

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