Docs: Clarify that we don't modify the original list

Fixes #231
master
Wilfred Hughes 9 years ago
parent 0df0ff1a65
commit 0297166f41
  1. 2
      README.md
  2. 2
      dash.info
  3. 2
      dash.texi
  4. 2
      dev/examples.el

@ -111,7 +111,7 @@ Functions returning a sublist of the original list.
### List to list
Bag of various functions which modify input list.
Functions returning a modified copy of the input list.
* [-keep](#-keep-fn-list) `(fn list)`
* [-concat](#-concat-rest-lists) `(&rest lists)`

@ -544,7 +544,7 @@ File: dash.info, Node: List to list, Next: Reductions, Prev: Sublist selectio
2.3 List to list
================
Bag of various functions which modify input list.
Functions returning a modified copy of the input list.
-- Function: -keep (fn list)
Return a new list of the non-nil results of applying FN to the

@ -777,7 +777,7 @@ See also: @code{-select-columns} (@pxref{-select-columns}), @code{-select-by-ind
@section List to list
Bag of various functions which modify input list.
Functions returning a modified copy of the input list.
@anchor{-keep}

@ -208,7 +208,7 @@ new list."
(-select-column 1 '((1 2 3) (a b c) (:a :b :c))) => '(2 b :b)))
(def-example-group "List to list"
"Bag of various functions which modify input list."
"Functions returning a modified copy of the input list."
(defexamples -keep
(-keep 'cdr '((1 2 3) (4 5) (6))) => '((2 3) (5))

Loading…
Cancel
Save