From 66ebd8c53698f2f438e19f319042a079d002887f Mon Sep 17 00:00:00 2001 From: nathanmarz Date: Sun, 8 Jan 2017 20:43:56 -0500 Subject: [PATCH] add example to readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 19fb389..00948f5 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,13 @@ user> (transform [(filterer odd?) LAST] [2 1 3 6 10 4 8] ``` +Remove nils from a nested sequence: + +```clojure +user> (setval [:a ALL nil?] NONE {:a [1 2 nil 3 nil]}) +{:a [1 2 3]} +``` + Increment all the odd numbers between indices 1 (inclusive) and 4 (exclusive): ```clojure