trie-step*
This commit is contained in:
parent
e55e19d5e4
commit
ee120022a4
|
@ -52,6 +52,7 @@
|
|||
|
||||
;; trie-prune-branch
|
||||
trie-step
|
||||
trie-step*
|
||||
|
||||
projection->pattern
|
||||
projection-arity
|
||||
|
@ -663,6 +664,10 @@
|
|||
(rlookup-sigma m (canonicalize key))]
|
||||
[(_ _) trie-empty]))
|
||||
|
||||
;; Trie (Listof (U OpenParenthesis Sigma)) -> Trie
|
||||
(define (trie-step* t keys)
|
||||
(foldl (lambda (key t) (trie-step t key)) t keys))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Projection
|
||||
|
||||
|
|
Loading…
Reference in New Issue