| 1 | "effect/List#append": |
| 2 | replacement: "Array.append" |
| 3 | note: "List was removed; use Array.append. It preserves ordering but returns arrays rather than persistent linked lists." |
| 4 | "effect/List#appendAll": |
| 5 | replacement: "Array.appendAll" |
| 6 | note: "List was removed; use Array.appendAll. It preserves ordering but returns arrays rather than persistent linked lists." |
| 7 | "effect/List#cons": |
| 8 | replacement: "Array.prepend" |
| 9 | note: "List was removed; change List.cons(head, tail) to Array.prepend(tail, head)." |
| 10 | "effect/List#Cons": |
| 11 | replacement: "Array.NonEmptyReadonlyArray" |
| 12 | note: "Use the immutable non-empty array type; constructors may return the assignable mutable NonEmptyArray subtype." |
| 13 | "effect/List#empty": |
| 14 | replacement: "Array.empty" |
| 15 | note: "List was removed; use Array.empty. It preserves ordering but returns arrays rather than persistent linked lists." |
| 16 | "effect/List#filter": |
| 17 | replacement: "Array.filter" |
| 18 | note: "List was removed; use Array.filter. It preserves ordering but returns arrays rather than persistent linked lists." |
| 19 | "effect/List#filterMap": |
| 20 | replacement: "Array.filterMap" |
| 21 | note: "List was removed; use Array.filterMap and change the callback from Option to Result." |
| 22 | "effect/List#fromIterable": |
| 23 | replacement: "Array.fromIterable" |
| 24 | note: "List was removed; use Array.fromIterable. It preserves ordering but returns arrays rather than persistent linked lists." |
| 25 | "effect/List#getEquivalence": |
| 26 | replacement: "Array.makeEquivalence" |
| 27 | note: "List was removed; compare the replacement arrays with Array.makeEquivalence." |
| 28 | "effect/List#head": |
| 29 | replacement: "Array.head" |
| 30 | note: "List was removed; use Array.head. It preserves ordering but returns arrays rather than persistent linked lists." |
| 31 | "effect/List#isCons": |
| 32 | replacement: "Array.isReadonlyArrayNonEmpty" |
| 33 | note: "List was removed; this checks that the replacement readonly array is non-empty." |
| 34 | "effect/List#isList": |
| 35 | replacement: "Array.isArray" |
| 36 | note: "The List brand is gone; this now recognizes the replacement JavaScript array representation." |
| 37 | "effect/List#isNil": |
| 38 | replacement: "Array.isReadonlyArrayEmpty" |
| 39 | note: "List was removed; this checks that the replacement readonly array is empty." |
| 40 | "effect/List#last": |
| 41 | replacement: "Array.last" |
| 42 | note: "List was removed; use Array.last. It preserves ordering but returns arrays rather than persistent linked lists." |
| 43 | "effect/List#List": |
| 44 | replacement: "ReadonlyArray" |
| 45 | note: "Replace the persistent linked-list representation with ReadonlyArray<A>." |
| 46 | "effect/List#List.AndNonEmpty": |
| 47 | replacement: "Array.ReadonlyArray.AndNonEmpty" |
| 48 | note: "Use the corresponding readonly-array utility type." |
| 49 | "effect/List#List.OrNonEmpty": |
| 50 | replacement: "Array.ReadonlyArray.OrNonEmpty" |
| 51 | note: "Use the corresponding readonly-array utility type." |
| 52 | "effect/List#List.With": |
| 53 | replacement: "Array.ReadonlyArray.With" |
| 54 | note: "Use the corresponding readonly-array utility type." |
| 55 | "effect/List#make": |
| 56 | replacement: "Array.make" |
| 57 | note: "List was removed; use Array.make. It preserves ordering but returns arrays rather than persistent linked lists." |
| 58 | "effect/List#map": |
| 59 | replacement: "Array.map" |
| 60 | note: "List was removed; use Array.map. It preserves ordering but returns arrays rather than persistent linked lists." |
| 61 | "effect/List#nil": |
| 62 | replacement: "Array.empty" |
| 63 | note: "List was removed; represent Nil with an empty array." |
| 64 | "effect/List#Nil": |
| 65 | replacement: "none" |
| 66 | note: "Represent this case as readonly []; there is no tagged Nil interface in v4." |
| 67 | "effect/List#of": |
| 68 | replacement: "Array.of" |
| 69 | note: "List was removed; use Array.of. It preserves ordering but returns arrays rather than persistent linked lists." |
| 70 | "effect/List#partition": |
| 71 | replacement: "Array.partition" |
| 72 | note: "Use a Result-returning callback: success values form the first array and failure values the second." |
| 73 | "effect/List#partitionMap": |
| 74 | replacement: "Array.partition" |
| 75 | note: "Migrate the Either-returning mapper to Result; successes form the first array and failures the second." |
| 76 | "effect/List#prependAll": |
| 77 | replacement: "Array.prependAll" |
| 78 | note: "List was removed; use Array.prependAll. It preserves ordering but returns arrays rather than persistent linked lists." |
| 79 | "effect/List#prependAllReversed": |
| 80 | replacement: "Array.prependAll + Array.reverse" |
| 81 | note: "Use Array.prependAll(self, Array.reverse(prefix)) to preserve the old ordering." |
| 82 | "effect/List#reduce": |
| 83 | replacement: "Array.reduce" |
| 84 | note: "List was removed; use Array.reduce. It preserves ordering but returns arrays rather than persistent linked lists." |
| 85 | "effect/List#reduceRight": |
| 86 | replacement: "Array.reduceRight" |
| 87 | note: "List was removed; use Array.reduceRight. It preserves ordering but returns arrays rather than persistent linked lists." |
| 88 | "effect/List#reverse": |
| 89 | replacement: "Array.reverse" |
| 90 | note: "List was removed; use Array.reverse. It preserves ordering but returns arrays rather than persistent linked lists." |
| 91 | "effect/List#size": |
| 92 | replacement: "Array.length" |
| 93 | note: "List was removed; use the replacement array length helper or the .length property." |
| 94 | "effect/List#splitAt": |
| 95 | replacement: "Array.splitAt" |
| 96 | note: "List was removed; use Array.splitAt. It preserves ordering but returns arrays rather than persistent linked lists." |
| 97 | "effect/List#tail": |
| 98 | replacement: "Array.tail" |
| 99 | note: "List was removed; use Array.tail. It preserves ordering but returns arrays rather than persistent linked lists." |
| 100 | "effect/List#take": |
| 101 | replacement: "Array.take" |
| 102 | note: "List was removed; use Array.take. It preserves ordering but returns arrays rather than persistent linked lists." |
| 103 | "effect/List#toArray": |
| 104 | replacement: "Array.fromIterable" |
| 105 | note: "After migrating the representation this is usually unnecessary; use Array.fromIterable when a fresh mutable array is required." |
| 106 | "effect/List#toChunk": |
| 107 | replacement: "Chunk.fromIterable" |
| 108 | note: "Convert the replacement array or other iterable with Chunk.fromIterable." |
| 109 | "effect/List#TypeId": |
| 110 | replacement: "none" |
| 111 | note: "Arrays have no List runtime marker; remove TypeId inspection." |
| 112 | "effect/List#unsafeHead": |
| 113 | replacement: "Array.headNonEmpty" |
| 114 | note: "Use a NonEmptyReadonlyArray proof before accessing the head; the v4 helper does not accept an empty array." |
| 115 | "effect/List#unsafeLast": |
| 116 | replacement: "Array.lastNonEmpty" |
| 117 | note: "Use a NonEmptyReadonlyArray proof before accessing the last element; the v4 helper does not accept an empty array." |
| 118 | "effect/List#unsafeTail": |
| 119 | replacement: "Array.tailNonEmpty" |
| 120 | note: "Use a NonEmptyReadonlyArray proof before taking the tail; the v4 helper does not accept an empty array." |
| 121 | "effect/List#every": |
| 122 | replacement: "Array.every" |
| 123 | note: "List was removed; run the predicate against the replacement array with Array.every." |
| 124 | "effect/List#some": |
| 125 | replacement: "Array.some" |
| 126 | note: "List was removed; run the predicate against the replacement array with Array.some." |