Skip to content

Commit 96b4786

Browse files
committed
Documentation
1 parent 32677ce commit 96b4786

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fsharp/FSharp.Core/result.fsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ namespace Microsoft.FSharp.Core
99

1010
/// <summary><c>map f inp</c> evaluates to <c>match inp with Error e -> Error e | Ok x -> Ok (f x)</c>.</summary>
1111
/// <param name="mapping">A function to apply to the OK result value.</param>
12-
/// <param name="result">The input option.</param>
12+
/// <param name="result">The input result.</param>
1313
/// <returns>A result of the input value after applying the mapping function, or Error if the input is Error.</returns>
1414
[<CompiledName("Map")>]
1515
val map : mapping:('T -> 'U) -> result:Result<'T, 'TError> -> Result<'U, 'TError>
1616

1717
/// <summary><c>map f inp</c> evaluates to <c>match inp with Error x -> Error (f x) | Ok v -> Ok v</c>.</summary>
1818
/// <param name="mapping">A function to apply to the OK result value.</param>
19-
/// <param name="result">The input option.</param>
19+
/// <param name="result">The input result.</param>
2020
/// <returns>A result of the input value after applying the mapping function, or Error if the input is Error.</returns>
2121
[<CompiledName("MapError")>]
2222
val mapError: mapping:('TError -> 'U) -> result:Result<'T, 'TError> -> Result<'T, 'U>

0 commit comments

Comments
 (0)