This is a little helper for completion interfaces.
Documentation
stepTree :: Eq a => CompletionTree a -> a -> Maybe ([a], CompletionTree a)Source
obvious :: CompletionTree a -> ([a], CompletionTree a)Source
mergeTrees :: Ord a => [CompletionTree a] -> CompletionTree aSource
listToTree :: [a] -> CompletionTree aSource
complete :: Eq a => CompletionTree a -> [a] -> ([a], CompletionTree a)Source