Skip to content

Commit

Permalink
typo in foldBack summary (dotnet#16453)
Browse files Browse the repository at this point in the history
  • Loading branch information
fajpunk authored Dec 20, 2023
1 parent 73970cb commit 99514c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharp.Core/result.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ module Result =
val inline fold<'T, 'Error, 'State> :
folder: ('State -> 'T -> 'State) -> state: 'State -> result: Result<'T, 'Error> -> 'State

/// <summary><c>fold f inp s</c> evaluates to <c>match inp with Error _ -> s | Ok x -> f x s</c>.</summary>
/// <summary><c>foldBack f inp s</c> evaluates to <c>match inp with Error _ -> s | Ok x -> f x s</c>.</summary>
///
/// <param name="folder">A function to update the state data when given a value from an result.</param>
/// <param name="result">The input result.</param>
Expand Down

0 comments on commit 99514c0

Please sign in to comment.