From 1b2f93605a616524d0fbc7e54aeddb2e527d4316 Mon Sep 17 00:00:00 2001 From: Marshall Bockrath-Vandegrift Date: Sat, 20 Dec 2014 16:11:35 -0500 Subject: [PATCH] Set predicate `#{0}` -> `#{1}` The set `#{0}` is a suboptimal example because the core predicate `zero?` would be even more appropriate. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7ef22a..ef04465 100644 --- a/README.md +++ b/README.md @@ -857,10 +857,10 @@ hints for the pairwise grouping with comments or empty lines. ```Clojure ;; good - (remove #{0} [0 1 2 3 4 5]) + (remove #{1} [0 1 2 3 4 5]) ;; bad - (remove #(= % 0) [0 1 2 3 4 5]) + (remove #(= % 1) [0 1 2 3 4 5]) ;; good (count (filter #{\a \e \i \o \u} "mary had a little lamb"))