Skip to content

Commit afa755a

Browse files
committed
Simplify Chunk union example
1 parent 41ef9cd commit afa755a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎packages/effect/src/Chunk.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,11 +2248,6 @@ export const takeWhile: {
22482248
* const chunk1 = Chunk.make(1, 2, 3)
22492249
* const chunk2 = Chunk.make(3, 4, 5)
22502250
* Chunk.toArray(Chunk.union(chunk1, chunk2)) // => [1, 2, 3, 4, 5]
2251-
*
2252-
* // Deduplicate each input before computing the union
2253-
* const withDupes1 = Chunk.make(1, 1, 2)
2254-
* const withDupes2 = Chunk.make(2, 3, 3)
2255-
* Chunk.toArray(Chunk.union(Chunk.dedupe(withDupes1), Chunk.dedupe(withDupes2))) // => [1, 2, 3]
22562251
* ```
22572252
*
22582253
* @stability stable

0 commit comments

Comments
 (0)