| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Ghcitui.Ghcid.ParseTabCompletions
Synopsis
- newtype ParseError = ParseError Text
- parseCompletionsWithHeader :: [Text] -> Either ParseError (Text, [Text])
Documentation
newtype ParseError Source #
Type to describe parsing errors.
Constructors
| ParseError Text |
Instances
| Show ParseError Source # | |
Defined in Ghcitui.Ghcid.ParseError Methods showsPrec :: Int -> ParseError -> ShowS # show :: ParseError -> String # showList :: [ParseError] -> ShowS # | |
| Eq ParseError Source # | |
Defined in Ghcitui.Ghcid.ParseError | |
parseCompletionsWithHeader Source #
Arguments
| :: [Text] | Full :complete output to parse. |
| -> Either ParseError (Text, [Text]) | Failure message (Left) or Completion possibilities (Right) |
Parse a completion result which begins with a header.
Example input: [ "4 4 "hello "" , ""world"" , ""wyvern"" , ""withers"" , ""wonderbolts""]
See https://downloads.haskell.org/ghc/latest/docs/users_guide/ghci.html#ghci-cmd-:complete