From e3abd1ef9a02fa432700d50c514e3b5ac60f8e35 Mon Sep 17 00:00:00 2001 From: nathanmarz Date: Sat, 15 Apr 2017 15:45:22 -0400 Subject: [PATCH] better doc for filterer --- src/clj/com/rpl/specter.cljc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/clj/com/rpl/specter.cljc b/src/clj/com/rpl/specter.cljc index b69632a..94404f4 100644 --- a/src/clj/com/rpl/specter.cljc +++ b/src/clj/com/rpl/specter.cljc @@ -960,8 +960,9 @@ match the given path. An element matches the selector path if calling select on that element with the path yields anything other than an empty sequence. - If transformed sequence is smaller than input sequence, the corresponding entries - will be removed from original sequence." + For transformation: `NONE` entries in the result sequence cause corresponding entries in + input to be removed. A result sequence smaller than the input sequence is equivalent to + padding the result sequence with `NONE` at the end until the same size as the input." [& path] (subselect ALL (selected? path)))