Skip to content

Commit 87a5d27

Browse files
committed
Fix signature of Result.map3
1 parent 6ca5365 commit 87a5d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharpPlus/Extensions/Result.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module Result =
3232
/// <param name="z">The third Result value.</param>
3333
///
3434
/// <returns>The combined value, or the first Error.</returns>
35-
let map3 f (x: Result<'T, 'Error>) (y: Result<'U, 'Error>) (z: Result<'V, 'Error>): Result<'V, 'Error> =
35+
let map3 f (x: Result<'T, 'Error>) (y: Result<'U, 'Error>) (z: Result<'V, 'Error>) : Result<'W, 'Error> =
3636
match x, y, z with
3737
| Ok a, Ok b, Ok c -> Ok(f a b c)
3838
| Error e, _, _

0 commit comments

Comments
 (0)