Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data ErrorStyle Source #
Instances
Show ErrorStyle Source # | |
Defined in SimpleParser.Interactive showsPrec :: Int -> ErrorStyle -> ShowS # show :: ErrorStyle -> String # showList :: [ErrorStyle] -> ShowS # | |
Eq ErrorStyle Source # | |
Defined in SimpleParser.Interactive (==) :: ErrorStyle -> ErrorStyle -> Bool # (/=) :: ErrorStyle -> ErrorStyle -> Bool # |
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 #