Liking cljdoc? Tell your friends :D

clj-flx.core

Rewrite emacs-flx in Clojure

Rewrite emacs-flx in Clojure
raw docstring

bigger-sublistclj

(bigger-sublist sorted-list val)

Return sublist bigger than VAL from sorted SORTED-LIST.

If VAL is nil, return entire list.

Return sublist bigger than VAL from sorted SORTED-LIST.

If VAL is nil, return entire list.
sourceraw docstring

boundary-pclj

(boundary-p last-char char)

Check if LAST-CHAR is the end of a word and CHAR the start of the next.

This function is camel-case aware.

Check if LAST-CHAR is the end of a word and CHAR the start of the next.

This function is camel-case aware.
sourceraw docstring

capital-pclj

(capital-p ch)

Check if CHAR is an uppercase character.

Check if CHAR is an uppercase character.
sourceraw docstring

default-scoreclj

Default score.

Default score.
sourceraw docstring

fill-vecclj

(fill-vec length inital-value)

Fill list with INITIAL-VALUE.

Fill list with INITIAL-VALUE.
sourceraw docstring

find-best-matchclj

(find-best-match str-info
                 heatmap
                 greater-than
                 query
                 query-len
                 q-index
                 match-cache)

Recursively compute the best match for a string, passed as STR-INFO and HEATMAP, according to QUERY.

Recursively compute the best match for a string, passed as STR-INFO and
HEATMAP, according to QUERY.
sourceraw docstring

get-hash-for-stringclj

(get-hash-for-string str)

Return hash-table for string where keys are characters.

Value is a sorted list of indexes for character occurrences.

Return hash-table for string where keys are characters.

Value is a sorted list of indexes for character occurrences.
sourceraw docstring

get-heatmap-strclj

(get-heatmap-str str group-separator)

Generate the heatmap vector of string.

Generate the heatmap vector of string.
sourceraw docstring

inc-vecclj

(inc-vec vec inc beg end)

Increment each element in VEC between BEG and END by INC.

INC defaults to 1. BEG defaults to 0 and is inclusive. END is not inclusive and defaults to the length of VEC.

Increment each element in VEC between BEG and END by INC.

INC defaults to 1.  BEG defaults to 0 and is inclusive.
END is not inclusive and defaults to the length of VEC.
sourceraw docstring

penalty-leadclj

Panality lead.

Panality lead.
sourceraw docstring

scoreclj

(score str query)

Return best score matching QUERY against STR.

Return best score matching QUERY against STR.
sourceraw docstring

word-pclj

(word-p ch)

Check if CHAR is a word character.

Check if CHAR is a word character.
sourceraw docstring

word-separatorsclj

List of characters that act as word separators in flx.

List of characters that act as word separators in flx.
sourceraw docstring

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

× close