Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ParseError = ParseError Text
- parseCompletionsWithHeader :: [Text] -> Either ParseError (Text, [Text])
Documentation
newtype ParseError Source #
Type to describe parsing errors.
Instances
Show ParseError Source # | |
Defined in Ghcitui.Ghcid.ParseError showsPrec :: Int -> ParseError -> ShowS # show :: ParseError -> String # showList :: [ParseError] -> ShowS # | |
Eq ParseError Source # | |
Defined in Ghcitui.Ghcid.ParseError (==) :: ParseError -> ParseError -> Bool # (/=) :: ParseError -> ParseError -> Bool # |
parseCompletionsWithHeader Source #
:: [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