Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type Indentation = Int Source
mkIndentationState :: Indentation -> Indentation -> Bool -> IndentationRel -> IndentationState Source
data IndentationState Source
updateIndentation :: IndentationState -> Indentation -> (IndentationState -> a) -> (String -> a) -> a Source
updateIndentation' :: Indentation -> Indentation -> IndentationRel -> Indentation -> (Indentation -> Indentation -> a) -> (String -> a) -> a Source
type LocalState a = (IndentationState -> IndentationState) -> (IndentationState -> IndentationState -> IndentationState) -> a -> a Source
localTokenMode :: LocalState a -> (IndentationRel -> IndentationRel) -> a -> a Source
absoluteIndentation :: LocalState a -> a -> a Source
ignoreAbsoluteIndentation :: LocalState a -> a -> a Source
localAbsoluteIndentation :: LocalState a -> a -> a Source
localIndentation' :: LocalState a -> (Indentation -> Indentation) -> (Indentation -> Indentation) -> (Indentation -> Indentation -> Indentation) -> a -> a Source
localIndentation :: LocalState a -> IndentationRel -> a -> a Source