Skip to content

Commit 1283d35

Browse files
committed
XML doc fixes
1 parent 5461162 commit 1283d35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/FSharpPlus/Data/ValueOption.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type ValueOptionT<'``monad<voption<'t>>``> with
5353
static member inline (>>=) (x: ValueOptionT<'``Monad<voption<'T>``>, f: 'T -> ValueOptionT<'``Monad<voption<'U>``>) = ValueOptionT.bind f x
5454

5555
/// <summary>
56-
/// Composes left-to-right two option functions (Kleisli composition).
56+
/// Composes left-to-right two ValueOption functions (Kleisli composition).
5757
/// </summary>
5858
/// <category index="2">Monad</category>
5959
static member inline (>=>) (f: 'T -> ValueOptionT<'``Monad<voption<'U>``>, g: 'U -> ValueOptionT<'``Monad<voption<'V>``>) : 'T -> ValueOptionT<'``Monad<voption<'V>``> = fun x -> ValueOptionT.bind g (f x)

src/FSharpPlus/Extensions/Result.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module Result =
2121
let apply f (x: Result<'T,'Error>) : Result<'U,'Error> = match f, x with Ok a, Ok b -> Ok (a b) | Error e, _ | _, Error e -> Error e
2222

2323
/// <summary>If value is Ok, returns both of them tupled. Otherwise it returns the Error value twice in a tuple.</summary>
24-
/// <param name="v">The value.</param>
24+
/// <param name="source">The value.</param>
2525
/// <returns>The resulting tuple.</returns>
2626
let unzip (source: Result<'T * 'U, 'Error>) : Result<'T, 'Error> * Result<'U, 'Error> = match source with Ok (x, y) -> Ok x, Ok y | Error e -> Error e, Error e
2727

0 commit comments

Comments
 (0)