|
|
|
|
Synopsis |
|
|
|
Documentation |
|
|
Complete a string given a user input string, a matching function
and a list of possibilites. Matching function should return the
part of the string that matches the user string.
|
|
|
|
commonPrefix :: Eq a => [[a]] -> [a] | Source |
|
Return the longest common prefix of a set of lists.
P(xs) === all (isPrefixOf (commonPrefix xs)) xs
length s > length (commonPrefix xs) --> not (all (isPrefixOf s) xs)
|
|
|
Prefix matching function, for use with completeInList
|
|
|
Infix matching function, for use with completeInList
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.6.1 |