Skip to content

Commit 80acf18

Browse files
committed
remove EXPERIMENTAL from ES6 iterator support
1 parent 8036032 commit 80acf18

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

src/main/cljs/cljs/core.cljs

+2-15
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,6 @@
13151315
(= y (first more)))
13161316
false)))
13171317

1318-
;; EXPERIMENTAL: subject to change
13191318
(deftype ES6Iterator [^:mutable s]
13201319
Object
13211320
(next [_]
@@ -1326,7 +1325,7 @@
13261325
#js {:value nil :done true})))
13271326

13281327
(defn es6-iterator
1329-
"EXPERIMENTAL: Return a ES2015 compatible iterator for coll."
1328+
"Return a ES2015+ compatible iterator for coll."
13301329
[coll]
13311330
(ES6Iterator. (seq coll)))
13321331

@@ -1341,7 +1340,7 @@
13411340
_rest))
13421341

13431342
(defn es6-iterator-seq
1344-
"EXPERIMENTAL: Given an ES2015 compatible iterator return a seq."
1343+
"Given an ES2015+ compatible iterator return a seq."
13451344
[iter]
13461345
(let [v (.next iter)]
13471346
(if (.-done v)
@@ -6668,7 +6667,6 @@ reduces them without incurring seq initialization"
66686667
(.next ext-map-iter)))
66696668
(remove [_] (js/Error. "Unsupported operation")))
66706669

6671-
;; EXPERIMENTAL: subject to change
66726670
(deftype ES6EntriesIterator [^:mutable s]
66736671
Object
66746672
(next [_]
@@ -6681,7 +6679,6 @@ reduces them without incurring seq initialization"
66816679
(defn es6-entries-iterator [coll]
66826680
(ES6EntriesIterator. (seq coll)))
66836681

6684-
;; EXPERIMENTAL: subject to change
66856682
(deftype ES6SetEntriesIterator [^:mutable s]
66866683
Object
66876684
(next [_]
@@ -6964,8 +6961,6 @@ reduces them without incurring seq initialization"
69646961
(pr-str* coll))
69656962
(equiv [this other]
69666963
(-equiv this other))
6967-
6968-
;; EXPERIMENTAL: subject to change
69696964
(keys [coll]
69706965
(es6-iterator (keys coll)))
69716966
(entries [coll]
@@ -8080,8 +8075,6 @@ reduces them without incurring seq initialization"
80808075
(pr-str* coll))
80818076
(equiv [this other]
80828077
(-equiv this other))
8083-
8084-
;; EXPERIMENTAL: subject to change
80858078
(keys [coll]
80868079
(es6-iterator (keys coll)))
80878080
(entries [coll]
@@ -8954,8 +8947,6 @@ reduces them without incurring seq initialization"
89548947
(pr-str* coll))
89558948
(equiv [this other]
89568949
(-equiv this other))
8957-
8958-
;; EXPERIMENTAL: subject to change
89598950
(keys [coll]
89608951
(es6-iterator (keys coll)))
89618952
(entries [coll]
@@ -9384,8 +9375,6 @@ reduces them without incurring seq initialization"
93849375
(pr-str* coll))
93859376
(equiv [this other]
93869377
(-equiv this other))
9387-
9388-
;; EXPERIMENTAL: subject to change
93899378
(keys [coll]
93909379
(es6-iterator (seq coll)))
93919380
(entries [coll]
@@ -9545,8 +9534,6 @@ reduces them without incurring seq initialization"
95459534
(pr-str* coll))
95469535
(equiv [this other]
95479536
(-equiv this other))
9548-
9549-
;; EXPERIMENTAL: subject to change
95509537
(keys [coll]
95519538
(es6-iterator (seq coll)))
95529539
(entries [coll]

0 commit comments

Comments
 (0)