Skip to content

Commit

Permalink
update haddock docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sdiehl committed Oct 6, 2014
1 parent 7fe09e8 commit 928b2cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/System/Console/Repline.hs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ access a StateT instance to query application state.
> completer :: Monad m => WordCompleter m
> completer n = do
> let names = ["kirk", "spock", "mccoy"]
> let matches = filter (isPrefixOf n) names
> return $ map simpleCompletion matches
> return $ filter (isPrefixOf n) names
Input which is prefixed by a colon (commands like \":type\" and \":help\") queries an association list of
functions which map to custom logic. The function takes a space-separated list of augments in it's first
Expand Down

0 comments on commit 928b2cf

Please sign in to comment.