| 1 | "effect/Either#all": |
| 2 | replacement: "Result.all" |
| 3 | note: "Either moved to Result; collection behavior is retained with Failure and Success terminology." |
| 4 | "effect/Either#ap": |
| 5 | replacement: "Result.flatMap" |
| 6 | note: "Use Result.flatMap(self, (f) => Result.map(that, f)); v4 has no Result.ap." |
| 7 | "effect/Either#bind": |
| 8 | replacement: "Result.bind" |
| 9 | note: "The do-notation combinator moved to Result." |
| 10 | "effect/Either#bindTo": |
| 11 | replacement: "Result.bindTo" |
| 12 | note: "The do-notation combinator moved to Result." |
| 13 | "effect/Either#Do": |
| 14 | replacement: "Result.Do" |
| 15 | note: "The empty successful do-notation value moved to Result." |
| 16 | "effect/Either#Either": |
| 17 | replacement: "Result.Result" |
| 18 | note: "Either<A, E> became Result<A, E>; Right and Left became Success and Failure." |
| 19 | "effect/Either#Either.Left": |
| 20 | replacement: "Result.Result.Failure" |
| 21 | note: "Use the Result namespace extractor for the failure variant." |
| 22 | "effect/Either#Either.Right": |
| 23 | replacement: "Result.Result.Success" |
| 24 | note: "Use the Result namespace extractor for the success variant." |
| 25 | "effect/Either#EitherTypeLambda": |
| 26 | replacement: "Result.ResultTypeLambda" |
| 27 | note: "Moved and renamed with Result." |
| 28 | "effect/Either#EitherUnify": |
| 29 | replacement: "Result.ResultUnify" |
| 30 | note: "Moved and renamed with Result." |
| 31 | "effect/Either#EitherUnifyIgnore": |
| 32 | replacement: "Result.ResultUnifyIgnore" |
| 33 | note: "Moved and renamed with Result." |
| 34 | "effect/Either#filterOrLeft": |
| 35 | replacement: "Result.filterOrFail" |
| 36 | note: "Left is now Failure, so the predicate combinator is filterOrFail." |
| 37 | "effect/Either#flip": |
| 38 | replacement: "Result.flip" |
| 39 | note: "The channel-swapping combinator moved to Result." |
| 40 | "effect/Either#fromNullable": |
| 41 | replacement: "Result.fromNullishOr" |
| 42 | note: "Renamed with v4 nullish-or terminology." |
| 43 | "effect/Either#getEquivalence": |
| 44 | replacement: "Result.makeEquivalence" |
| 45 | note: "Pass success and failure equivalences positionally instead of a right and left object." |
| 46 | "effect/Either#getLeft": |
| 47 | replacement: "Result.getFailure" |
| 48 | note: "Extract the Result failure as an Option." |
| 49 | "effect/Either#getOrElse": |
| 50 | replacement: "Result.getOrElse" |
| 51 | note: "Moved unchanged to Result." |
| 52 | "effect/Either#getOrThrow": |
| 53 | replacement: "Result.getOrThrow" |
| 54 | note: "V4 throws the raw Failure value; use getOrThrowWith when a custom Error is required." |
| 55 | "effect/Either#getOrThrowWith": |
| 56 | replacement: "Result.getOrThrowWith" |
| 57 | note: "Moved to Result; the callback receives the Failure value." |
| 58 | "effect/Either#getOrUndefined": |
| 59 | replacement: "Result.getOrUndefined" |
| 60 | note: "Moved unchanged to Result." |
| 61 | "effect/Either#getRight": |
| 62 | replacement: "Result.getSuccess" |
| 63 | note: "Extract the Result success as an Option." |
| 64 | "effect/Either#isEither": |
| 65 | replacement: "Result.isResult" |
| 66 | note: "Renamed with the data type." |
| 67 | "effect/Either#isLeft": |
| 68 | replacement: "Result.isFailure" |
| 69 | note: "Left is now the Failure variant." |
| 70 | "effect/Either#isRight": |
| 71 | replacement: "Result.isSuccess" |
| 72 | note: "Right is now the Success variant." |
| 73 | "effect/Either#left": |
| 74 | replacement: "Result.fail" |
| 75 | note: "Construct a Failure with Result.fail." |
| 76 | "effect/Either#Left": |
| 77 | replacement: "Result.Failure" |
| 78 | note: "Left became Failure; .left became .failure." |
| 79 | "effect/Either#let": |
| 80 | replacement: "Result.let" |
| 81 | note: "The do-notation combinator moved to Result." |
| 82 | "effect/Either#map": |
| 83 | replacement: "Result.map" |
| 84 | note: "Map now transforms the Success channel." |
| 85 | "effect/Either#mapLeft": |
| 86 | replacement: "Result.mapError" |
| 87 | note: "Left mapping became failure-channel error mapping." |
| 88 | "effect/Either#match": |
| 89 | replacement: "Result.match" |
| 90 | note: "Rename handlers from onLeft and onRight to onFailure and onSuccess." |
| 91 | "effect/Either#right": |
| 92 | replacement: "Result.succeed" |
| 93 | note: "Construct a Success with Result.succeed." |
| 94 | "effect/Either#Right": |
| 95 | replacement: "Result.Success" |
| 96 | note: "Right became Success; .right became .success." |
| 97 | "effect/Either#try": |
| 98 | replacement: "Result.try" |
| 99 | note: "The synchronous throwable constructor moved to Result." |
| 100 | "effect/Either#TypeId": |
| 101 | replacement: "none" |
| 102 | note: "Result keeps its brand private and exports no public TypeId." |
| 103 | "effect/Either#void": |
| 104 | replacement: "Result.void" |
| 105 | note: "Use the prebuilt successful Result<void>." |