Liking cljdoc? Tell your friends :D
Mostly clj/s forms.
Exceptions indicated.

reitit.segment


compile

(compile trie)
source

insert

(insert trie path data)

Returns a Segment Trie with path with data inserted into it. Creates the trie if nil.

Returns a Segment Trie with path with data inserted into it. Creates the trie if `nil`.
sourceraw docstring

lookup

(lookup trie path)
source

Match

source

scanner

(scanner compiled-tries)
source

Segmentprotocol

-insert
(-insert this ps data)
-lookup
(-lookup this ps path-params)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close