seonbi-0.3.2: SmartyPants for Korean language
Safe HaskellNone
LanguageHaskell2010

Text.Seonbi.Html.Scanner

Synopsis

Documentation

data Result r #

The result of a parse.

Constructors

Fail Text [String] String

The parse failed. The Text is the input that had not yet been consumed when the failure occurred. The [String] is a list of contexts in which the error occurred. The String is the message describing the error, if any.

Done Text r

The parse succeeded. The Text is the input that had not yet been consumed (if any) when the parse succeeded.

Instances

Instances details
Functor Result 
Instance details

Defined in Data.Attoparsec.Text.Lazy

Methods

fmap :: (a -> b) -> Result a -> Result b #

(<$) :: a -> Result b -> Result a #

Show r => Show (Result r) 
Instance details

Defined in Data.Attoparsec.Text.Lazy

Methods

showsPrec :: Int -> Result r -> ShowS #

show :: Result r -> String #

showList :: [Result r] -> ShowS #

NFData r => NFData (Result r) 
Instance details

Defined in Data.Attoparsec.Text.Lazy

Methods

rnf :: Result r -> () #