Safe Haskell | Safe-Inferred |
---|
Documentation
data IndentStream s Source
Show s => Show (IndentStream s) | |
Stream s m (t, Indentation) => Stream (IndentStream s) m (IndentationToken t) |
type IndentationToken t = tSource
mkIndentStream :: Indentation -> Indentation -> Bool -> IndentationRel -> s -> IndentStream sSource
localState :: Monad m => LocalState (ParsecT (IndentStream s) u m a)Source
localStateUnlessAbsMode :: Monad m => LocalState (ParsecT (IndentStream s) u m a)Source
localTokenMode :: Monad m => (IndentationRel -> IndentationRel) -> ParsecT (IndentStream s) u m a -> ParsecT (IndentStream s) u m aSource
localIndentation :: Monad m => IndentationRel -> ParsecT (IndentStream s) u m a -> ParsecT (IndentStream s) u m aSource
absoluteIndentation :: Monad m => ParsecT (IndentStream s) u m a -> ParsecT (IndentStream s) u m aSource
ignoreAbsoluteIndentation :: Monad m => ParsecT (IndentStream s) u m a -> ParsecT (IndentStream s) u m aSource
localAbsoluteIndentation :: Monad m => ParsecT (IndentStream s) u m a -> ParsecT (IndentStream s) u m aSource
streamToList :: (Monad m, Stream s m t) => s -> m [t]Source
indentStreamParser :: Monad m => ParsecT s u m (t, Indentation) -> ParsecT (IndentStream s) u m (IndentationToken t)Source
type Indentation = IntSource