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