Safe Haskell | None |
---|---|
Language | Haskell2010 |
Importify.Syntax.Text
Description
Different text utilities.
- stripEndLineComment :: Text -> Text
- debugAST :: Show a => Text -> a -> IO ()
- debugLabel :: Text -> IO ()
Documentation
stripEndLineComment :: Text -> Text Source #
This functions strips out trailing single line comment.
debugAST :: Show a => Text -> a -> IO () Source #
Warning: debugAST
remains in code
Helper function to debug different parts of AST processing.
debugLabel :: Text -> IO () Source #
Warning: debugLabel
remains in code
Helper function to print labels to discover error position.