| 1 | effect/TArray#TArray: |
| 2 | replacement: "TxChunk.TxChunk" |
| 3 | note: "TArray has no direct v4 counterpart; TxChunk is the closest rewrite target but uses whole-Chunk operations." |
| 4 | effect/TArray#TArray.Variance: |
| 5 | replacement: "none" |
| 6 | note: "TArray was removed and TxChunk exposes no public variance marker." |
| 7 | effect/TArray#TArrayTypeId: |
| 8 | replacement: "TxChunk.isTxChunk" |
| 9 | note: "TArray and its public type id were removed; use the TxChunk runtime guard after rewriting the data structure." |
| 10 | effect/TArray#collectFirst: |
| 11 | replacement: "TxChunk.get + Chunk/Array operation" |
| 12 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 13 | effect/TArray#collectFirstSTM: |
| 14 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 15 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 16 | effect/TArray#contains: |
| 17 | replacement: "TxChunk.get + Chunk/Array operation" |
| 18 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 19 | effect/TArray#count: |
| 20 | replacement: "TxChunk.get + Chunk/Array operation" |
| 21 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 22 | effect/TArray#countSTM: |
| 23 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 24 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 25 | effect/TArray#empty: |
| 26 | replacement: "TxChunk.empty" |
| 27 | note: "TArray was removed; TxChunk is the closest v4 transactional indexed collection." |
| 28 | effect/TArray#everySTM: |
| 29 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 30 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 31 | effect/TArray#findFirstIndex: |
| 32 | replacement: "TxChunk.get + Chunk/Array operation" |
| 33 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 34 | effect/TArray#findFirstIndexFrom: |
| 35 | replacement: "TxChunk.get + Chunk/Array operation" |
| 36 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 37 | effect/TArray#findFirstIndexWhere: |
| 38 | replacement: "TxChunk.get + Chunk/Array operation" |
| 39 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 40 | effect/TArray#findFirstIndexWhereFrom: |
| 41 | replacement: "TxChunk.get + Chunk/Array operation" |
| 42 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 43 | effect/TArray#findFirstIndexWhereFromSTM: |
| 44 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 45 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 46 | effect/TArray#findFirstIndexWhereSTM: |
| 47 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 48 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 49 | effect/TArray#findFirstSTM: |
| 50 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 51 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 52 | effect/TArray#findLast: |
| 53 | replacement: "TxChunk.get + Chunk/Array operation" |
| 54 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 55 | effect/TArray#findLastIndex: |
| 56 | replacement: "TxChunk.get + Chunk/Array operation" |
| 57 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 58 | effect/TArray#findLastIndexFrom: |
| 59 | replacement: "TxChunk.get + Chunk/Array operation" |
| 60 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 61 | effect/TArray#findLastSTM: |
| 62 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 63 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 64 | effect/TArray#fromIterable: |
| 65 | replacement: "TxChunk.fromIterable" |
| 66 | note: "TArray was removed; construct the v4 TxChunk rewrite target from the iterable." |
| 67 | effect/TArray#get: |
| 68 | replacement: "Effect.map(TxChunk.get(self), Chunk.get(index))" |
| 69 | note: "TxChunk.get returns the whole Chunk, so apply Chunk.get to preserve indexed optional lookup." |
| 70 | effect/TArray#headOption: |
| 71 | replacement: "TxChunk.get + Chunk/Array operation" |
| 72 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 73 | effect/TArray#lastOption: |
| 74 | replacement: "TxChunk.get + Chunk/Array operation" |
| 75 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 76 | effect/TArray#make: |
| 77 | replacement: "TxChunk.fromIterable(elements)" |
| 78 | note: "TxChunk.make takes one Chunk rather than variadic elements; TxChunk.fromIterable preserves the old call shape after collecting arguments." |
| 79 | effect/TArray#maxOption: |
| 80 | replacement: "TxChunk.get + Chunk/Array operation" |
| 81 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 82 | effect/TArray#minOption: |
| 83 | replacement: "TxChunk.get + Chunk/Array operation" |
| 84 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 85 | effect/TArray#reduce: |
| 86 | replacement: "TxChunk.get + Chunk/Array operation" |
| 87 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 88 | effect/TArray#reduceOption: |
| 89 | replacement: "TxChunk.get + Chunk/Array operation" |
| 90 | note: "TArray was removed. Read the TxChunk snapshot and perform the equivalent pure collection query inside the surrounding Effect.tx transaction." |
| 91 | effect/TArray#reduceOptionSTM: |
| 92 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 93 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 94 | effect/TArray#reduceSTM: |
| 95 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 96 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 97 | effect/TArray#size: |
| 98 | replacement: "TxChunk.size" |
| 99 | note: "TxChunk is the closest v4 rewrite target. V4 Tx operations return ordinary Effects; compose multiple operations under one outer Effect.tx to keep them atomic." |
| 100 | effect/TArray#someSTM: |
| 101 | replacement: "Effect.tx + TxChunk.get + Effect traversal" |
| 102 | note: "TArray was removed. Read the TxChunk snapshot and perform the effectful traversal explicitly within the same Effect.tx transaction." |
| 103 | effect/TArray#toArray: |
| 104 | replacement: "Effect.map(TxChunk.get(self), Chunk.toArray)" |
| 105 | note: "TxChunk.get returns a Chunk; convert that snapshot to an Array explicitly." |
| 106 | effect/TArray#transform: |
| 107 | replacement: "TxChunk.update(self, Chunk.map(f))" |
| 108 | note: "TArray was removed; transform the whole TxChunk snapshot with a Chunk mapping function." |
| 109 | effect/TArray#transformSTM: |
| 110 | replacement: "Effect.tx + TxChunk.get/TxChunk.set" |
| 111 | note: "Read the snapshot, traverse it effectfully, and write the rebuilt Chunk within one Effect.tx transaction." |
| 112 | effect/TArray#update: |
| 113 | replacement: "TxChunk.modify" |
| 114 | note: "TxChunk updates the whole Chunk; use modify to update the indexed element and preserve the old optional-index behavior." |
| 115 | effect/TArray#updateSTM: |
| 116 | replacement: "Effect.tx + TxChunk.get/TxChunk.set" |
| 117 | note: "Read, effectfully update the indexed element, and write the rebuilt Chunk within one Effect.tx transaction." |
| 118 | effect/TArray#every: |
| 119 | replacement: "Effect.map(TxChunk.get(self), Chunk.every(predicate))" |
| 120 | note: "TArray was removed; read the TxChunk snapshot and test every element inside the surrounding Effect.tx transaction." |
| 121 | effect/TArray#some: |
| 122 | replacement: "Effect.map(TxChunk.get(self), Chunk.some(predicate))" |
| 123 | note: "TArray was removed; read the TxChunk snapshot and test for a matching element inside the surrounding Effect.tx transaction." |