Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
extras v0.41.0
0.41.0 - 2023-08-27
New Features
Add
extras-string
module (Addextras-string
#406)[
extras-string
] Addsyntax
forInt
and addtoOrdinal
([extras-string
] Addsyntax
forInt
and addtoOrdinal
#408)[
extras-string
] Addsyntax
forLong
and addtoOrdinal
([extras-string
] Addsyntax
forLong
and addtoOrdinal
#409)[
extras-string
] AddcommaWith
syntax forSeq[String]
([extras-string
] AddcommaWith
syntax forSeq[String]
#419)An extension method for a
Seq[String]
, providing a way to join the elements with a comma and a given conjunction.It joins
String
values with commas and uses the given conjunction before the last element.[
extras-string
] AddserialCommaWith
syntax forSeq[String]
([extras-string
] AddserialCommaWith
syntax forSeq[String]
#420)An extension method for a
Seq[String]
, providing a way to join the elements with a serial comma and a given conjunction.It joins
String
values with commas and uses the given conjunction before the last element.This method employs the serial comma (also known as the Oxford comma),
which means it always inserts a comma before the conjunction unless there are only two elements.
[
extras-string
] AddcommaAnd
syntax forSeq[String]
([extras-string
] AddcommaAnd
syntax forSeq[String]
#412)Format
Seq[String]
into a human-readable list using comma and the conjunctionand
.It separates elements by commas and uses the term
and
before the last element.[
extras-string
] AddserialCommaAnd
syntax forSeq[String]
([extras-string
] AddserialCommaAnd
syntax forSeq[String]
#414)Format
Seq[String]
into a human-readable list using comma and the conjunctionand
.It separates elements by commas and uses the term
and
before the last element following the "Oxford comma" style.e.g.)
"aaa, bbb, and ccc"
[
extras-string
] AddcommaOr
syntax forSeq[String]
([extras-string
] AddcommaOr
syntax forSeq[String]
#416)Format
Seq[String]
into a human-readable list using comma and the conjunctionor
.It separates elements by commas and uses the term
or
before the last element.[
extras-string
] AddserialCommaOr
syntax forSeq[String]
([extras-string
] AddserialCommaOr
syntax forSeq[String]
#417)Format
Seq[String]
into a human-readable list using comma and the conjunctionor
.It separates elements by commas and uses the term
or
before the last element following the "Oxford comma" style.e.g.)
"aaa, bbb, or ccc"