Cabal-3.2.1.0: A framework for packaging Haskell software
License BSD3
Maintainer cabal-devel@haskell.org
Portability portable
Safe Haskell None
Language Haskell2010

Distribution.Fields.LexerMonad

Description

Synopsis

Documentation

data LexState Source #

Constructors

LexState

Fields

execLexer :: Lex a -> InputStream -> ([ LexWarning ], a) Source #

Execute the given lexer on the supplied input stream.

addWarning :: LexWarningType -> Lex () Source #

Add warning at the current position