|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
This is dash.info, produced by makeinfo version 6.5 from dash.texi. |
|
|
|
|
This is dash.info, produced by makeinfo version 6.6 from dash.texi. |
|
|
|
|
|
|
|
|
|
This manual is for ‘dash.el’ version 2.12.1. |
|
|
|
|
|
|
|
|
|
@ -1322,22 +1322,22 @@ Functions partitioning the input list into a list of lists. |
|
|
|
|
Partition directly after each time PRED is true on an element of |
|
|
|
|
LIST. |
|
|
|
|
|
|
|
|
|
(-partition-after-pred (function oddp) '()) |
|
|
|
|
(-partition-after-pred #'oddp '()) |
|
|
|
|
⇒ '() |
|
|
|
|
(-partition-after-pred (function oddp) '(1)) |
|
|
|
|
(-partition-after-pred #'oddp '(1)) |
|
|
|
|
⇒ '((1)) |
|
|
|
|
(-partition-after-pred (function oddp) '(0 1)) |
|
|
|
|
(-partition-after-pred #'oddp '(0 1)) |
|
|
|
|
⇒ '((0 1)) |
|
|
|
|
|
|
|
|
|
-- Function: -partition-before-pred (pred list) |
|
|
|
|
Partition directly before each time PRED is true on an element of |
|
|
|
|
LIST. |
|
|
|
|
|
|
|
|
|
(-partition-before-pred (function oddp) '()) |
|
|
|
|
(-partition-before-pred #'oddp '()) |
|
|
|
|
⇒ '() |
|
|
|
|
(-partition-before-pred (function oddp) '(1)) |
|
|
|
|
(-partition-before-pred #'oddp '(1)) |
|
|
|
|
⇒ '((1)) |
|
|
|
|
(-partition-before-pred (function oddp) '(0 1)) |
|
|
|
|
(-partition-before-pred #'oddp '(0 1)) |
|
|
|
|
⇒ '((0) (1)) |
|
|
|
|
|
|
|
|
|
-- Function: -partition-before-item (item list) |
|
|
|
|
@ -1535,6 +1535,8 @@ Operations pretending lists are sets. |
|
|
|
|
⇒ '() |
|
|
|
|
(-distinct '(1 2 2 4)) |
|
|
|
|
⇒ '(1 2 4) |
|
|
|
|
(-distinct '(t t t)) |
|
|
|
|
⇒ '(t) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
File: dash.info, Node: Other list operations, Next: Tree operations, Prev: Set operations, Up: Functions |
|
|
|
|
@ -2597,7 +2599,7 @@ offered in a separate package: ‘dash-functional‘. |
|
|
|
|
|
|
|
|
|
(-map (-applify '+) '((1 1 1) (1 2 3) (5 5 5))) |
|
|
|
|
⇒ '(3 6 15) |
|
|
|
|
(-map (-applify (lambda (a b c) (\` ((\, a) ((\, b) ((\, c))))))) '((1 1 1) (1 2 3) (5 5 5))) |
|
|
|
|
(-map (-applify (lambda (a b c) `(,a (,b (,c))))) '((1 1 1) (1 2 3) (5 5 5))) |
|
|
|
|
⇒ '((1 (1 (1))) (1 (2 (3))) (5 (5 (5)))) |
|
|
|
|
(funcall (-applify '<) '(3 6)) |
|
|
|
|
⇒ t |
|
|
|
|
@ -3277,25 +3279,25 @@ Ref: -partition-all-in-steps41195 |
|
|
|
|
Ref: -partition-by41680 |
|
|
|
|
Ref: -partition-by-header42062 |
|
|
|
|
Ref: -partition-after-pred42666 |
|
|
|
|
Ref: -partition-before-pred43037 |
|
|
|
|
Ref: -partition-before-item43415 |
|
|
|
|
Ref: -partition-after-item43726 |
|
|
|
|
Ref: -group-by44032 |
|
|
|
|
Node: Indexing44469 |
|
|
|
|
Ref: -elem-index44671 |
|
|
|
|
Ref: -elem-indices45066 |
|
|
|
|
Ref: -find-index45449 |
|
|
|
|
Ref: -find-last-index45938 |
|
|
|
|
Ref: -find-indices46442 |
|
|
|
|
Ref: -grade-up46850 |
|
|
|
|
Ref: -grade-down47253 |
|
|
|
|
Node: Set operations47663 |
|
|
|
|
Ref: -union47846 |
|
|
|
|
Ref: -difference48288 |
|
|
|
|
Ref: -intersection48705 |
|
|
|
|
Ref: -powerset49142 |
|
|
|
|
Ref: -permutations49355 |
|
|
|
|
Ref: -distinct49655 |
|
|
|
|
Ref: -partition-before-pred43010 |
|
|
|
|
Ref: -partition-before-item43361 |
|
|
|
|
Ref: -partition-after-item43672 |
|
|
|
|
Ref: -group-by43978 |
|
|
|
|
Node: Indexing44415 |
|
|
|
|
Ref: -elem-index44617 |
|
|
|
|
Ref: -elem-indices45012 |
|
|
|
|
Ref: -find-index45395 |
|
|
|
|
Ref: -find-last-index45884 |
|
|
|
|
Ref: -find-indices46388 |
|
|
|
|
Ref: -grade-up46796 |
|
|
|
|
Ref: -grade-down47199 |
|
|
|
|
Node: Set operations47609 |
|
|
|
|
Ref: -union47792 |
|
|
|
|
Ref: -difference48234 |
|
|
|
|
Ref: -intersection48651 |
|
|
|
|
Ref: -powerset49088 |
|
|
|
|
Ref: -permutations49301 |
|
|
|
|
Ref: -distinct49601 |
|
|
|
|
Node: Other list operations49979 |
|
|
|
|
Ref: -rotate50204 |
|
|
|
|
Ref: -repeat50574 |
|
|
|
|
@ -3368,21 +3370,21 @@ Ref: -rpartial86761 |
|
|
|
|
Ref: -juxt87163 |
|
|
|
|
Ref: -compose87595 |
|
|
|
|
Ref: -applify88153 |
|
|
|
|
Ref: -on88600 |
|
|
|
|
Ref: -flip89126 |
|
|
|
|
Ref: -const89438 |
|
|
|
|
Ref: -cut89782 |
|
|
|
|
Ref: -not90268 |
|
|
|
|
Ref: -orfn90578 |
|
|
|
|
Ref: -andfn91012 |
|
|
|
|
Ref: -iteratefn91507 |
|
|
|
|
Ref: -fixfn92210 |
|
|
|
|
Ref: -prodfn93779 |
|
|
|
|
Node: Development94848 |
|
|
|
|
Node: Contribute95197 |
|
|
|
|
Node: Changes95945 |
|
|
|
|
Node: Contributors98944 |
|
|
|
|
Node: Index100568 |
|
|
|
|
Ref: -on88584 |
|
|
|
|
Ref: -flip89110 |
|
|
|
|
Ref: -const89422 |
|
|
|
|
Ref: -cut89766 |
|
|
|
|
Ref: -not90252 |
|
|
|
|
Ref: -orfn90562 |
|
|
|
|
Ref: -andfn90996 |
|
|
|
|
Ref: -iteratefn91491 |
|
|
|
|
Ref: -fixfn92194 |
|
|
|
|
Ref: -prodfn93763 |
|
|
|
|
Node: Development94832 |
|
|
|
|
Node: Contribute95181 |
|
|
|
|
Node: Changes95929 |
|
|
|
|
Node: Contributors98928 |
|
|
|
|
Node: Index100552 |
|
|
|
|
|
|
|
|
|
End Tag Table |
|
|
|
|
|
|
|
|
|
|