Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- packageToModule :: Text -> Text
- intercalateMap :: Text -> (a -> Text) -> [a] -> Text
- headToUpper :: Text -> Text
Documentation
packageToModule :: Text -> Text Source #
Creates module name from the name of the package
Ex: my-lovely-project
— MyLovelyProject
intercalateMap :: Text -> (a -> Text) -> [a] -> Text Source #
Converts every element of list into Text
and then joins every element
into single Text
like intercalate
.
headToUpper :: Text -> Text Source #