-
Notifications
You must be signed in to change notification settings - Fork 786
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cljs.core/build-subvec now checks whether its vector argument is already a Subvec and, if so, unwraps it, so that the return value of cljs.core/subvec is always a view on a regular vector. This is in line with the behaviour of subvec in Clojure. Includes a basic test.
- Loading branch information
1 parent
69741f2
commit 3ca249a
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters