Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6701de5

Browse files
authored
fix intellisense for Result.mapError
1 parentc6a070b commit6701de5

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
@@ -15,9 +15,9 @@ namespace Microsoft.FSharp.Core
1515
valmap: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>
18-
/// <param name="mapping">A function to apply to theOK result value.</param>
18+
/// <param name="mapping">A function to apply to theError result value.</param>
1919
/// <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>
20+
/// <returns>A result of theerror value after applying the mapping function, orOk if the input isOk.</returns>
2121
[<CompiledName("MapError")>]
2222
valmapError:mapping:('TError-> 'U)->result:Result<'T,'TError>->Result<'T,'U>
2323

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp