spelll icon indicating copy to clipboard operation
spelll copied to clipboard

inconsistent example

Open svungoc opened this issue 5 years ago • 0 comments

Hi, the library looks nice, but the example is very confusing

# let idx = Spelll.Index.of_list ["hello", "world"; "hall", "vestibule"];;
val idx : string Spelll.Index.t = <abstr>
# Spelll.Index.retrieve_l idx ~limit:1 "hell" ;;
- : string list = ["world"; "vestibule"]
# Spelll.Index.retrieve_l idx ~limit:1 "hall" ;;
- : string list = ["vestibule"]

svungoc avatar Jan 10 '20 14:01 svungoc