Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Some standard replacements for text
Synopsis
- literalNewlines :: Text -> Text
- stripNewlines :: Text -> Text
- stripAroundNewlines :: Text -> Text
Documentation
literalNewlines :: Text -> Text Source #
Replace "n" with an actual newline
stripNewlines :: Text -> Text Source #
Remove newlines
stripAroundNewlines :: Text -> Text Source #
Remove newlines, and whitespace around them