For package maintainers and hackage trustees
Candidates
| Versions[RSS] | 0.1.0.0,0.1.0.1,0.2.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.7 && <5),data-default-class (>=0.1 && <0.2) [details] |
| License | BSD-3-Clause |
| Copyright | 2024 Willem Van Onsem |
| Author | Willem Van Onsem |
| Maintainer | hapytexeu+gh@gmail.com |
| Uploaded | bywvanonsem90 at2024-11-02T12:56:14Z |
| Category | utils |
| Home page | https://github.com/hapytex/comma-and#readme |
| Source repo | head: git clonehttps://github.com/hapytex/comma-and |
| Distributions | |
| Downloads | 137 total (9 in the last 30 days) |
| Rating | (no votes yet)[estimated byBayesian average] |
| Your Rating |
|
| Status | Docs available[build log] Last success reported on 2024-11-02[all 1 reports] |
Joins text items together by separating these with commas, and "and" at the end.
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 anystring-like type.
The package can work with types that are an instance ofIsString andMonoid. So this means it works withString,Text,ByteString,MarkupM,LaTeX, and probably a lot more types that concatenate with theMonoid instance, and are an instance ofIsString.
comma-and issafe HaskellThe module is compiled withSafe and does not depend on unsafe modules.
You can contribute by making a pull request on theGitHub repository.
You can contact the package maintainer by sending a mail tohapytexeu+gh@gmail.com.