elm-community / elm-community/string-extra

Add toSentenceOr and toSentenceOxfordOr

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
36
Forks
27
PR merge metrics
No merged PRs in 30d

Description

```
toSentenceOr [ "lions", "tigers", "bears" ] == "lions, tigers or bears"
```
```
toSentenceOxfordOr [ "lions", "tigers", "bears" ] == "lions, tigers, or bears"
```

Somewhat related: I think the official name is "serial comma" and therefore it should be called `toSentenceSerial`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.