| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Text.Parsec.Applicative.Types
Documentation
initialPos :: Maybe Text -> SourcePos Source
class HasSourcePos a where Source
Instances
data WithSourcePos a Source
Constructors
| WithSourcePos a SourcePos | 
Instances
| Eq a => Eq (WithSourcePos a) | |
| Ord a => Ord (WithSourcePos a) | |
| Show a => Show (WithSourcePos a) | |
| HasSourcePos (WithSourcePos a) | 
wspValue :: forall a a. Lens (WithSourcePos a) (WithSourcePos a) a a Source
wspSourcePos :: forall a. Lens' (WithSourcePos a) SourcePos Source
data ParseState tt td Source
Instances
| (Show tt, Show td) => Show (ParseState tt td) | 
psConsumed :: forall tt td. Lens' (ParseState tt td) Bool Source
psTokens :: forall tt td tt td. Lens (ParseState tt td) (ParseState tt td) [(tt, td)] [(tt, td)] Source
emptyParseState :: HasSourcePos td => [(tt, td)] -> ParseState tt td Source