[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/trie 929cb78 101/111: Rename to trie--map-internal to c
From: |
Stefan Monnier |
Subject: |
[elpa] externals/trie 929cb78 101/111: Rename to trie--map-internal to clarify not for public use. |
Date: |
Mon, 14 Dec 2020 11:35:29 -0500 (EST) |
branch: externals/trie
commit 929cb784f9a7c1b8e51c9c1569b55e4741834b8a
Author: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Rename to trie--map-internal to clarify not for public use.
---
trie.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/trie.el b/trie.el
index 19b659b..e8fdf94 100644
--- a/trie.el
+++ b/trie.el
@@ -456,7 +456,7 @@
(defun trie--avl-transform-for-print (trie)
;; transform avl-tree based TRIE to print form.
- (trie-mapc-internal
+ (trie--mapc-internal
(lambda (avl _seq) (setf (avl-tree--cmpfun avl) nil))
trie))
@@ -464,7 +464,7 @@
(defun trie--avl-transform-from-read (trie)
;; transform avl-tree based TRIE from print form."
(let ((--trie-avl-transform--cmpfun (trie--cmpfun trie)))
- (trie-mapc-internal
+ (trie--mapc-internal
(lambda (avl _seq)
(setf (avl-tree--cmpfun avl) --trie-avl-transform--cmpfun))
trie)))
@@ -943,7 +943,7 @@ also `trie-member-p', which does this for you.)"
--trie--mapc--reverse))
-(defun trie-mapc-internal (function trie &optional type)
+(defun trie--mapc-internal (function trie &optional type)
"Apply FUNCTION to all internal associative arrays within TRIE.
FUNCTION is passed two arguments: an associative array, and the
sequence it corresponds to.
@@ -951,16 +951,16 @@ sequence it corresponds to.
Optional argument TYPE (one of the symbols vector, lisp or
string) sets the type of sequence passed to FUNCTION. Defaults to
vector."
- (trie--mapc-internal function (trie--mapfun trie) (trie--root trie)
+ (trie--mapc-internal-1 function (trie--mapfun trie) (trie--root trie)
(cond ((eq type 'string) "")
((eq type 'lisp) ())
(t []))))
-(defun trie--mapc-internal (--trie--mapc-internal--function
- --trie--mapc-internal--mapfun
- --trie--mapc-internal--root
- --trie--mapc-internal--seq)
+(defun trie--mapc-internal-1 (--trie--mapc-internal--function
+ --trie--mapc-internal--mapfun
+ --trie--mapc-internal--root
+ --trie--mapc-internal--seq)
(funcall
--trie--mapc-internal--mapfun
(lambda (--trie--mapc-internal--node)
@@ -969,7 +969,7 @@ vector."
(funcall --trie--mapc-internal--function
(trie--node-subtree --trie--mapc-internal--node)
--trie--mapc-internal--seq)
- (trie--mapc-internal
+ (trie--mapc-internal-1
--trie--mapc-internal--function
--trie--mapc-internal--mapfun
--trie--mapc-internal--node
- [elpa] externals/trie fc9b218 032/111: Removed support for non-terminal * wildcards, (continued)
- [elpa] externals/trie fc9b218 032/111: Removed support for non-terminal * wildcards, Stefan Monnier, 2020/12/14
- [elpa] externals/trie 5a064c0 092/111: Fix bug in trie-delete return value., Stefan Monnier, 2020/12/14
- [elpa] externals/trie 9f49d95 086/111: Implement iterator generators on collection data structures., Stefan Monnier, 2020/12/14
- [elpa] externals/trie 2957aec 103/111: Fix bugs in trie-fuzzy-match/complete., Stefan Monnier, 2020/12/14
- [elpa] externals/trie 3a734c3 077/111: Implement trie-fuzzy-match and trie-fuzzy-complete functions., Stefan Monnier, 2020/12/14
- [elpa] externals/trie 9259d51 088/111: Improve edebug pretty-printing., Stefan Monnier, 2020/12/14
- [elpa] externals/trie 81899c0 110/111: * packages/trie/trie.el (trie--if-lexical-binding): Simplify, Stefan Monnier, 2020/12/14
- [elpa] externals/trie 31c4ac2 024/111: Implemented trie-wildcard-stacks!, Stefan Monnier, 2020/12/14
- [elpa] externals/trie a438b01 090/111: Fix bugs in lexical binding support(?), Stefan Monnier, 2020/12/14
- [elpa] externals/trie ee4b459 106/111: Allow pruning of trie branches in queries., Stefan Monnier, 2020/12/14
- [elpa] externals/trie 929cb78 101/111: Rename to trie--map-internal to clarify not for public use.,
Stefan Monnier <=
- [elpa] externals/trie 14c4bec 109/111: Fix lexical binding bugs., Stefan Monnier, 2020/12/14