Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ErrorStyle Source #
Instances
Eq ErrorStyle Source # | |
Defined in SimpleParser.Interactive (==) :: ErrorStyle -> ErrorStyle -> Bool # (/=) :: ErrorStyle -> ErrorStyle -> Bool # | |
Show ErrorStyle Source # | |
Defined in SimpleParser.Interactive showsPrec :: Int -> ErrorStyle -> ShowS # show :: ErrorStyle -> String # showList :: [ErrorStyle] -> ShowS # |
renderInteractive :: LinePosExplainable l s e => ErrorStyle -> String -> Maybe (ParseResult l s e a) -> IO () Source #
parseInteractiveStyle :: (s ~ LinePosStream Text, Explainable l s e) => ErrorStyle -> Parser l s e a -> String -> IO (Maybe a) Source #
parseInteractive :: (s ~ LinePosStream Text, Explainable l s e) => Parser l s e a -> String -> IO (Maybe a) Source #