Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- prime :: Text -> Text
- parenthesize :: Text -> Text
- padTo :: Int -> Text -> Text
- withComment :: Text -> Text -> Text
- ucFirst :: Text -> Text
- lcFirst :: Text -> Text
- modifyQualified :: (Text -> Text) -> Text -> Text
- tshow :: Show a => a -> Text
- terror :: Text -> a
- utf8ReadFile :: FilePath -> IO Text
- utf8WriteFile :: FilePath -> Text -> IO ()
- splitOn :: Eq a => a -> [a] -> [[a]]
Documentation
parenthesize :: Text -> Text Source #
modifyQualified :: (Text -> Text) -> Text -> Text Source #
Apply the given modification function to the given symbol. If the symbol is qualified the modification will only apply to the last component.