elm-community / elm-community/string-extra
Add toSentenceOr and toSentenceOxfordOr
Open
- 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.