From 1805094df846dad3cb003e52f4e2f132ab6c9760 Mon Sep 17 00:00:00 2001 From: nathanmarz Date: Sun, 13 Aug 2017 07:51:02 -0400 Subject: [PATCH] update changelog --- CHANGES.md | 1 + src/clj/com/rpl/specter.cljc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 0f40fe7..b7345ca 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ * Added `before-index` navigator for inserting a single element into a sequence. * Added `index-nav` navigator for moving an element in a sequence to a new index, shifting other elements in the process. +* Added `INDEXED-VALS` navigator for navigating to every element of a sequence as [index elem] pair. Tranform on index portion works the same as `index-nav`. * Workaround for ClojureScript regression that causes warnings for record fields named "var" or other reserved names ## 1.0.2 diff --git a/src/clj/com/rpl/specter.cljc b/src/clj/com/rpl/specter.cljc index e15669a..2e19f9e 100644 --- a/src/clj/com/rpl/specter.cljc +++ b/src/clj/com/rpl/specter.cljc @@ -1001,7 +1001,7 @@ INDEXED-VALS [] (select* [this structure next-fn] - ;; could be more efficient with a primitve mutable field + ;; could be more efficient with a primitive mutable field (let [i (i/mutable-cell -1)] (doseqres NONE [e structure] (i/update-cell! i inc)