We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentc6a070b commit6701de5Copy full SHA for 6701de5
src/fsharp/FSharp.Core/result.fsi
@@ -15,9 +15,9 @@ namespace Microsoft.FSharp.Core
15
valmap:mapping:('T-> 'U)->result:Result<'T,'TError>->Result<'U,'TError>
16
17
/// <summary><c>map f inp</c> evaluates to <c>match inp with Error x -> Error (f x) | Ok v -> Ok v</c>.</summary>
18
-/// <param name="mapping">A function to apply to theOK result value.</param>
+/// <param name="mapping">A function to apply to theError result value.</param>
19
/// <param name="result">The input result.</param>
20
-/// <returns>A result of theinput value after applying the mapping function, orError if the input isError.</returns>
+/// <returns>A result of theerror value after applying the mapping function, orOk if the input isOk.</returns>
21
[<CompiledName("MapError")>]
22
valmapError:mapping:('TError-> 'U)->result:Result<'T,'TError>->Result<'T,'U>
23