Skip to content

Commit

Permalink
Fix signature of Result.map3
Browse files Browse the repository at this point in the history
  • Loading branch information
gusty authored and wallymathieu committed Jul 15, 2021
1 parent c24b35b commit 1397324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharpPlus/Extensions/Result.fs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module Result =
/// <param name="z">The third Result value.</param>
///
/// <returns>The combined value, or the first Error.</returns>
let map3 f (x: Result<'T, 'Error>) (y: Result<'U, 'Error>) (z: Result<'V, 'Error>): Result<'V, 'Error> =
let map3 f (x: Result<'T, 'Error>) (y: Result<'U, 'Error>) (z: Result<'V, 'Error>) : Result<'W, 'Error> =
match x, y, z with
| Ok a, Ok b, Ok c -> Ok(f a b c)
| Error e, _, _
Expand Down

0 comments on commit 1397324

Please sign in to comment.