From ddf6e15cc12f189c8a1ff577f2791f3e6f70623e Mon Sep 17 00:00:00 2001 From: Enimiste Date: Tue, 15 Apr 2025 15:52:54 +0200 Subject: [PATCH 1/3] Fix typo in trait sclala doc --- core/shared/src/main/scala-2.12/zio/ChunkLike.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/shared/src/main/scala-2.12/zio/ChunkLike.scala b/core/shared/src/main/scala-2.12/zio/ChunkLike.scala index 15e0266b5cba..414eadf55313 100644 --- a/core/shared/src/main/scala-2.12/zio/ChunkLike.scala +++ b/core/shared/src/main/scala-2.12/zio/ChunkLike.scala @@ -33,7 +33,7 @@ import scala.reflect.ClassTag * * Note that `IndexedSeq` is not a referentially transparent interface in that * it exposes methods that are partial (e.g. `apply`), allocate mutable state - * (e.g. `iterator`), or are purely side effecting (e.g. `foreach`). `Chunk` + * (e.g. `iterator`), or are purely side effecting (e.g. `foreach`). `ChunkLike` * extends `IndexedSeq` to provide interoperability with Scala's collection * library but users should avoid these methods whenever possible. */ From 63dcbd87cef5d8e935181855c06a19f75fab3a2a Mon Sep 17 00:00:00 2001 From: Enimiste Date: Tue, 15 Apr 2025 15:56:13 +0200 Subject: [PATCH 2/3] Fix typo in scala doc on trait Chunk --- core/shared/src/main/scala/zio/Chunk.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/shared/src/main/scala/zio/Chunk.scala b/core/shared/src/main/scala/zio/Chunk.scala index 84f0649bbd84..d1b217e4fb65 100644 --- a/core/shared/src/main/scala/zio/Chunk.scala +++ b/core/shared/src/main/scala/zio/Chunk.scala @@ -26,10 +26,10 @@ import scala.math.log import scala.reflect.{ClassTag, classTag} /** - * A `Chunk[A]` represents a chunk of values of type `A`. Chunks are designed - * are usually backed by arrays, but expose a purely functional, safe interface - * to the underlying elements, and they become lazy on operations that would be - * costly with arrays, such as repeated concatenation. + * A `Chunk[A]` represents a chunk of values of type `A`. Chunks are usually + * backed by arrays, but expose a purely functional, safe interface to the + * underlying elements, and they become lazy on operations that would be costly + * with arrays, such as repeated concatenation. * * The implementation of balanced concatenation is based on the one for * Conc-Trees in "Conc-Trees for Functional and Parallel Programming" by From 37883767eed9fcf48b6a1fd6627ba032332bb28f Mon Sep 17 00:00:00 2001 From: Enimiste Date: Tue, 15 Apr 2025 15:58:56 +0200 Subject: [PATCH 3/3] fix type in scala dox on ChunkLike trait --- core/shared/src/main/scala-2.13+/zio/ChunkLike.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/shared/src/main/scala-2.13+/zio/ChunkLike.scala b/core/shared/src/main/scala-2.13+/zio/ChunkLike.scala index b36437088bc5..740161b89e65 100644 --- a/core/shared/src/main/scala-2.13+/zio/ChunkLike.scala +++ b/core/shared/src/main/scala-2.13+/zio/ChunkLike.scala @@ -32,7 +32,7 @@ import scala.reflect.ClassTag * * Note that `IndexedSeq` is not a referentially transparent interface in that * it exposes methods that are partial (e.g. `apply`), allocate mutable state - * (e.g. `iterator`), or are purely side effecting (e.g. `foreach`). `Chunk` + * (e.g. `iterator`), or are purely side effecting (e.g. `foreach`). `ChunkLike` * extends `IndexedSeq` to provide interoperability with Scala's collection * library but users should avoid these methods whenever possible. */