Description
Join text together with commas, and "and"
Description
Convert a Text
object into a visually pleasant URL component.
README.md
comma-and
Joins text items together by separating these with commas, and "and" at the end.
Usage
We can combine elements with:
ghci> comma ["red", "green", "blue"]
"red, green, and blue"
The package has tooling for the two different comma styles, and can work with any string-like type.
comma-and
is safe Haskell
The module is compiled with Safe
and does not depend on unsafe modules.
Contribute
You can contribute by making a pull request on the GitHub repository.
You can contact the package maintainer by sending a mail to [email protected]
.