Movatterモバイル変換


[0]ホーム

URL:


Hackage :: [Package]

comma-and:Join text together with commas, and "and".

[bsd3,library,utils ] [Propose Tags ] [Report a vulnerability ]

Join text together with commas, and "and".


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions[RSS]0.1.0.0,0.1.0.1,0.2.0.0
Change logCHANGELOG.md
Dependenciesbase (>=4.7 && <5),data-default-class (>=0.1 && <0.2) [details]
LicenseBSD-3-Clause
Copyright2024 Willem Van Onsem
AuthorWillem Van Onsem
Maintainerhapytexeu+gh@gmail.com
Uploadedbywvanonsem90 at2024-11-02T12:56:14Z
Categoryutils
Home pagehttps://github.com/hapytex/comma-and#readme
Source repohead: git clonehttps://github.com/hapytex/comma-and
Distributions
Downloads137 total (9 in the last 30 days)
Rating(no votes yet)[estimated byBayesian average]
Your Rating
  • λ
  • λ
  • λ
StatusDocs available[build log]
Last success reported on 2024-11-02[all 1 reports]

Readme for comma-and-0.2.0.0

[back to package description]

comma-and

Build Status of the package by GitHub actionsBuild Status of the package by HackageHackage version badge

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 anystring-like type.

String-like types?

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 Haskell

The module is compiled withSafe and does not depend on unsafe modules.

Contribute

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.

Produced byhackage andCabal 3.16.1.0.


[8]ページ先頭

©2009-2026 Movatter.jp