Hi folks, not sure if I can't read or what, I'm trying to make subvectors
and I'm not getting at all what I'm expecting from the docs. I thought from
the s7 docs that subvector should return a vector given (subvector vector
start end), or (subvector vector start end dimensions)

If anyone can shed some light on this, that would be lovely.
iain

Here's my repl output from using the s7 repl example

> (define v (vector 1 2 3 4))
#(1 2 3 4)
> v
#(1 2 3 4)
> (subvector v 0 2)
#()
> (subvector v 0 2 1)

;subvector: too many arguments: (#(1 2 3 4) 0 2 1)

> (subvector v)

;subvector: not enough arguments: (#(1 2 3 4))
_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to