Changes for clojure.core/subvec

rafmagana on Thu, 21 Jun 2012
;; not supplying 'end' returns vector from 'start' to (count vector)
user=> (subvec [12 3 4 5 6 7] 2)
[4 5 6 7]

;; supplying 'end' returns vector from 'start' to element (- end 1)
user=> (subvec [12 3 4 5 6 7] 2 4)
[4 5]




rafmagana on Thu, 21 Jun 2012
;; not supplying 'end' returns vector from 'start' to `(count vector)`
user=> (subvec [12 3 4 5 6 7] 2)
[4 5 6 7]

;; supplying 'end' returns vector from 'start' to element `(- end 1)`
user=> (subvec [12 3 4 5 6 7] 2 4)
[4 5]




rafmagana on Thu, 21 Jun 2012
;; not supplying 'end' returns vector from 'start' to `(count vector)`
user=> (subvec [12 3 4 5 6 7] 2)
[4 5 6 7]

;; supplying 'end' returns vector from 'start' to element number `(- end 1)`
user=> (subvec [12 3 4 5 6 7] 2 4)
[4 5]




zkim on Sun, 26 Sep 2010
user=> (subvec [12 3 4 5 6 7] 2)
[4 5 6 7]

user=> (subvec [12 3 4 5 6 7] 2 4)
[4 5]




zmila on Wed, 11 Aug 2010
user=> (subvec [12 3 4 5 6 7] 2)
[4 5 6 7]


user=> (subvec [12 3 4 5 6 7] 2 4)
[4 5]