From 98295df9bc74e71c478634320487dee1cfcd7444 Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Wed, 22 Apr 2015 11:46:26 -0400 Subject: [PATCH] clarify example in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 451a360..638f560 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ user> (update [(filterer odd?) LAST] `filterer` navigates you to a view of the sequence currently being looked at. `LAST` navigates you to the last element of whatever sequence you're looking at. But of course during updates, the updates are performed on the original data structure. -`srange` is a selector for looking at or replacing a subsequence of a sequence. For example, here's how to increment all the odd numbers between indexes 1 and 4: +`srange` is a selector for looking at or replacing a subsequence of a sequence. For example, here's how to increment all the odd numbers between indexes 1 (inclusive) and 4 (exclusive): ```clojure user> (update [(srange 1 4) ALL odd?] inc [0 1 2 3 4 5 6 7])