;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
|
|
;;; This file does not contain utf-8 non-ASCII characters,
|
;;; and so can be loaded in Emacs versions earlier than 23.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(custom-declare-group 'dash nil "Customize group for dash.el" :group 'lisp :prefix "dash-")
|
#@21
|
|
(fn SYMBOL VALUE)
|
(defalias 'dash--enable-fontlock #[514 "\211\203 \300 \210\301\"\207" [dash-enable-font-lock set-default] 5 (#$ . 500)])
|
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \207" [custom-declare-variable dash-enable-fontlock funcall function #[0 "\300\207" [nil] 1] "If non-nil, enable fontification of dash functions, macros and\nspecial values." :type boolean :set dash--enable-fontlock :group dash] 10)
|
#@64 Destructive: Set CDR to the cons of CAR and CDR.
|
|
(fn CAR CDR)
|
(defalias '!cons '(macro . #[514 "\300\301EE\207" [setq cons] 7 (#$ . 947)]))
|
#@54 Destructive: Set LIST to the cdr of LIST.
|
|
(fn LIST)
|
(defalias '!cdr '(macro . #[257 "\300\301DE\207" [setq cdr] 5 (#$ . 1097)]))
|
#@50 Anaphoric form of `-each'.
|
|
(fn LIST &rest BODY)
|
(defalias '--each '(macro . #[385 "\300\301!\302D\303B\304\302\305\306DDCBB\307\310D\257E\207" [make-symbol "list" let ((it-index 0)) while it car (setq it-index (1+ it-index)) !cdr] 11 (#$ . 1235)]))
|
(byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put --each edebug-form-spec (form body) function-put lisp-indent-function 1] 4)
|
#@251 Eval a form, then insert that form as the 2nd argument to other forms.
|
The EVAL-INITIAL-VALUE form is evaluated once. Its result is
|
passed to FORMS, which are then evaluated sequentially. Returns
|
the target form.
|
|
(fn EVAL-INITIAL-VALUE &rest FORMS)
|
(defalias '-doto '(macro . #[385 "\300\301!\302DC\303\304\305\306\307\310\311 !\312\"\313\314%\"C\"BB\207" [make-symbol "value" let append mapcar make-byte-code 257 "\301!\203 \302!\300ABB\207\303\304\300E\207" vconcat vector [sequencep -first-item funcall form] 4 "\n\n(fn FORM)"] 13 (#$ . 1643)]))
|
(byte-code "\300\301\302\303#\300\207" [function-put -doto lisp-indent-function 1] 4)
|
#@88 Call FN with every item in LIST. Return nil, used for side-effects only.
|
|
(fn LIST FN)
|
(defalias '-each #[514 "\300\205 @!\266\211T\262A\262\202 \207" [0] 7 (#$ . 2295)])
|
(byte-code "\300\301\302\303#\210\304\305\306\"\207" [put -each lisp-indent-function 1 defalias --each-indexed --each] 4)
|
#@170 Call (FN index item) for each item in LIST.
|
|
In the anaphoric form `--each-indexed', the index is exposed as symbol `it-index'.
|
|
See also: `-map-indexed'.
|
|
(fn LIST FN)
|
(defalias '-each-indexed #[514 "\300\205 @\"\266\211T\262A\262\202 \207" [0] 8 (#$ . 2606)])
|
(put '-each-indexed 'lisp-indent-function 1)
|
#@61 Anaphoric form of `-each-while'.
|
|
(fn LIST PRED &rest BODY)
|
(defalias '--each-while '(macro . #[642 "\300\301!\300\302!\303D\304B\305BB\306\307E\303\310\311DDC\312\313D\314 \315BBBBBE\316\317D\257E\207" [make-symbol "list" "continue" let (t) ((it-index 0)) while and it car if not setq (nil) (setq it-index (1+ it-index)) !cdr] 16 (#$ . 2931)]))
|
(byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put --each-while edebug-form-spec (form form body) function-put lisp-indent-function 2] 4)
|
#@122 Call FN with every item in LIST while (PRED item) is non-nil.
|
Return nil, used for side-effects only.
|
|
(fn LIST PRED FN)
|
(defalias '-each-while #[771 "\300\301\205) \205) @!\204 \302\262\202 !\210\210\211T\262A\262\202 \207" [t 0 nil] 9 (#$ . 3452)])
|
(put '-each-while 'lisp-indent-function 2)
|
#@52 Anaphoric form of `-each-r'.
|
|
(fn LIST &rest BODY)
|
(defalias '--each-r '(macro . #[385 "\300\301!\302\303DD\304\305DD\306BB\307\310\311\312\313\314\315BBEBBBBE\207" [make-symbol "vector" let* vconcat it-index length (it) while (> it-index 0) (setq it-index (1- it-index)) setq it aref (it-index)] 13 (#$ . 3767)]))
|
(byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put --each-r edebug-form-spec (form body) function-put lisp-indent-function 1] 4)
|
#@107 Call FN with every item in LIST in reversed order.
|
Return nil, used for side-effects only.
|
|
(fn LIST FN)
|
(defalias '-each-r #[514 "\300!\211G\301\302V\205 S\262H\262!\210\202 \207" [vconcat nil 0] 7 (#$ . 4239)])
|
#@63 Anaphoric form of `-each-r-while'.
|
|
(fn LIST PRED &rest BODY)
|
(defalias '--each-r-while '(macro . #[642 "\300\301!\302\303DD\304\305DD\306BB\307\310\311\312\313\314\315BBE\316\317\nD\320\nBBB\257E\207" [make-symbol "vector" let* vconcat it-index length (it) while (> it-index 0) (setq it-index (1- it-index)) setq it aref (it-index) if not (setq it-index -1)] 14 (#$ . 4470)]))
|
(byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put --each-r-while edebug-form-spec (form form body) function-put lisp-indent-function 2] 4)
|
#@131 Call FN with every item in reversed LIST while (PRED item) is non-nil.
|
Return nil, used for side-effects only.
|
|
(fn LIST PRED FN)
|
(defalias '-each-r-while #[771 "\300!\211G\301\302V\205( S\262H\262!\204! \303\262\202 !\210\202 \207" [vconcat nil 0 -1] 8 (#$ . 5018)])
|
#@134 Repeatedly executes BODY (presumably for side-effects) with symbol `it' bound to integers from 0 through NUM-1.
|
|
(fn NUM &rest BODY)
|
(defalias '--dotimes '(macro . #[385 "\300\301!\302D\303B\304\305\306E\307\310\"BBE\207" [make-symbol "num" let ((it 0)) while < it append ((setq it (1+ it)))] 10 (#$ . 5307)]))
|
(byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put --dotimes edebug-form-spec (form body) function-put lisp-indent-function 1] 4)
|
#@106 Repeatedly calls FN (presumably for side-effects) passing in integers from 0 through NUM-1.
|
|
(fn NUM FN)
|
(defalias '-dotimes #[514 "\300\211W\205 !\210\211T\262\202 \207" [0] 6 (#$ . 5774)])
|
(put '-dotimes 'lisp-indent-function 1)
|
#@95 Return a new list consisting of the result of applying FN to the items in LIST.
|
|
(fn FN LIST)
|
(defalias '-map #[514 "\300\"\207" [mapcar] 5 (#$ . 6018)])
|
#@43 Anaphoric form of `-map'.
|
|
(fn FORM LIST)
|
(defalias '--map '(macro . #[514 "\300\301\302EE\207" [mapcar lambda (it)] 6 (#$ . 6180)]))
|
(put '--map 'edebug-form-spec '(form form))
|
#@65 Anaphoric form of `-reduce-from'.
|
|
(fn FORM INITIAL-VALUE LIST)
|
(defalias '--reduce-from '(macro . #[771 "\300\301DC\302\303\301EE\304BBB\207" [let acc --each setq (acc)] 10 (#$ . 6366)]))
|
(put '--reduce-from 'edebug-form-spec '(form form form))
|
#@354 Return the result of applying FN to INITIAL-VALUE and the
|
first item in LIST, then applying FN to that result and the 2nd
|
item, etc. If LIST contains no items, return INITIAL-VALUE and
|
do not call FN.
|
|
In the anaphoric form `--reduce-from', the accumulated value is
|
exposed as symbol `acc'.
|
|
See also: `-reduce', `-reduce-r'
|
|
(fn FN INITIAL-VALUE LIST)
|
(defalias '-reduce-from #[771 "\300\203 @\"\262\210\211T\262A\262\202 \266\211\207" [0] 10 (#$ . 6623)])
|
#@46 Anaphoric form of `-reduce'.
|
|
(fn FORM LIST)
|
(defalias '--reduce '(macro . #[514 "\300\301!\302DC\303\304\305D\306DF\302\307 EFE\207" [make-symbol "list-value" let if --reduce-from car cdr (acc it)] 12 (#$ . 7102)]))
|
(put '--reduce 'edebug-form-spec '(form form))
|
#@404 Return the result of applying FN to the first 2 items in LIST,
|
then applying FN to that result and the 3rd item, etc. If LIST
|
contains no items, return the result of calling FN with no
|
arguments. If LIST contains a single item, return that item
|
and do not call FN.
|
|
In the anaphoric form `--reduce', the accumulated value is
|
exposed as symbol `acc'.
|
|
See also: `-reduce-from', `-reduce-r'
|
|
(fn FN LIST)
|
(defalias '-reduce #[514 "\211\203\f \300@A#\207 \207" [-reduce-from] 6 (#$ . 7383)])
|
#@70 Anaphoric version of `-reduce-r-from'.
|
|
(fn FORM INITIAL-VALUE LIST)
|
(defalias '--reduce-r-from '(macro . #[771 "\300\301DF\207" [--reduce-from reverse] 8 (#$ . 7882)]))
|
(put '--reduce-r-from 'edebug-form-spec '(form form form))
|
#@331 Replace conses with FN, nil with INITIAL-VALUE and evaluate
|
the resulting expression. If LIST is empty, INITIAL-VALUE is
|
returned and FN is not called.
|
|
Note: this function works the same as `-reduce-from' but the
|
operation associates from right instead of from left.
|
|
See also: `-reduce-r', `-reduce'
|
|
(fn FN INITIAL-VALUE LIST)
|
(defalias '-reduce-r-from #[771 "\300!\301\203 @\"\262\210\211T\262A\262\202 \266\211\207" [reverse 0] 10 (#$ . 8121)])
|
#@51 Anaphoric version of `-reduce-r'.
|
|
(fn FORM LIST)
|
(defalias '--reduce-r '(macro . #[514 "\300\301DE\207" [--reduce reverse] 6 (#$ . 8592)]))
|
(put '--reduce-r 'edebug-form-spec '(form form))
|
#@480 Replace conses with FN and evaluate the resulting expression.
|
The final nil is ignored. If LIST contains no items, return the
|
result of calling FN with no arguments. If LIST contains a single
|
item, return that item and do not call FN.
|
|
The first argument of FN is the new item, the second is the
|
accumulated value.
|
|
Note: this function works the same as `-reduce' but the operation
|
associates from right instead of from left.
|
|
See also: `-reduce-r-from', `-reduce'
|
|
(fn FN LIST)
|
(defalias '-reduce-r #[514 "\211\203: \300!\211\2031 \211@A\301\203) @\"\262\210\211T\262A\262\202 \266\211\262\2029 \302\211\"\266\202\207 \207" [reverse 0 nil] 10 (#$ . 8791)])
|
#@188 Return a list of the intermediate values of the reduction.
|
|
See `-reduce-from' for explanation of the arguments.
|
|
See also: `-reductions', `-reductions-r', `-reduce-r'
|
|
(fn FN INIT LIST)
|
(defalias '-reductions-from #[771 "C\300\203 |