Skip to content

carrotflakes/cl-double-array

Repository files navigation

cl-double-array

cl-double-array provides common-prefix-search.

Usage

(defvar words '("a" "to" "tea" "ted" "ten" "i" "in" "inn" "int" "inter" "internet"))

(defvar double-array (build-double-array words))

(common-prefix-search double-array "internet!")
; => ("i" "in" "int" "inter" "internet")

(complete double-array "int")
; => ("int" "inter" "internet") ; Random order

Installation

ros install carrotflakes/cl-double-array

Author

Copyright

Copyright (c) 2018 carrotflakes (carrotflakes@gmail.com)

License

Licensed under the LLGPL License.

About

A double array implementation for Common Lisp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published