Skip to content

Commit 4dbb62e

Browse files
committed
More XML docs fixed
1 parent de700aa commit 4dbb62e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/FSharpPlus/Data/NonEmptySeq.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ module NonEmptySeq =
197197
/// not be used with large or infinite sequences.</remarks>
198198
/// <param name="mapping">The function to transform elements from the input collection and accumulate the final value.</param>
199199
/// <param name="state">The initial state.</param>
200-
/// <param name="array">The input collection.</param>
200+
/// <param name="source">The input collection.</param>
201201
/// <returns>The collection of transformed elements, and the final accumulated value.</returns>
202202
/// <remarks>This function consumes the whole input sequence before yielding the first element of the result sequence.</remarks>
203203
let mapFold (mapping: 'State -> 'T -> 'Result * 'State) state (source: NonEmptySeq<_>) =
@@ -209,7 +209,7 @@ module NonEmptySeq =
209209
/// <remarks>This function digests the whole initial sequence as soon as it is called. As a result this function should
210210
/// not be used with large or infinite sequences.</remarks>
211211
/// <param name="mapping">The function to transform elements from the input collection and accumulate the final value.</param>
212-
/// <param name="array">The input collection.</param>
212+
/// <param name="source">The input collection.</param>
213213
/// <param name="state">The initial state.</param>
214214
/// <returns>The collection of transformed elements, and the final accumulated value.</returns>
215215
/// <remarks>This function consumes the whole input sequence before yielding the first element of the result sequence.</remarks>
@@ -273,7 +273,7 @@ module NonEmptySeq =
273273
else Some (unsafeOfSeq seq)
274274

275275
/// <summary>Builds a non empty sequence from the given array.</summary>
276-
/// <param name="seq">The input array.</param>
276+
/// <param name="array">The input array.</param>
277277
/// <returns>Non empty sequence containing the elements of the list.</returns>
278278
/// <exception cref="System.ArgumentException">Thrown when the input array is empty.</exception>
279279
/// <remarks>Throws exception for empty array</remarks>

src/FSharpPlus/Extensions/Choice.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module Choice =
1919

2020
/// <summary>Maps the value on the Choice1Of2 if any.</summary>
2121
/// <param name="mapping">A function to apply to the Choice1Of2 value.</param>
22-
/// <param name="value">The source input value.</param>
22+
/// <param name="source">The source input value.</param>
2323
/// <returns>A Choice1Of2 of the input value after applying the mapping function, or the original Choice2Of2 value if the input is Choice2Of2.</returns>
2424
let map (mapping: 'T->'U) (source: Choice<'T,'T2>) = match source with Choice1Of2 v -> Choice1Of2 (mapping v) | Choice2Of2 e -> Choice2Of2 e
2525

src/FSharpPlus/Extensions/Enumerator.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ module Enumerator =
420420
/// </summary>
421421
/// <param name="generator">The function that takes the current state and returns an
422422
/// option tuple of the next element of the list and the next state value.</param>
423-
/// <param name="inititalState">The intitial state value.</param>
423+
/// <param name="initialState">The intitial state value.</param>
424424
/// <returns>A new Enumerator yielding only elements that satsify the predicate.</returns>
425425
let unfold generator initialState : IEnumerator<_> =
426426
let state = ref initialState

src/FSharpPlus/Extensions/Seq.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ module Seq =
193193
/// <summary>Converts a seq to an IReadOnlyList (from System.Collections.Generic).</summary>
194194
/// <param name="source">The seq source</param>
195195
/// <returns>The seq converted to a System.Collections.Generic.IReadOnlyList</returns>
196-
let toIReadOnlyList (x: seq<_>) = x |> ResizeArray |> ReadOnlyCollection :> IReadOnlyList<_>
196+
let toIReadOnlyList (source: seq<_>) = source |> ResizeArray |> ReadOnlyCollection :> IReadOnlyList<_>
197197
#endif
198198
#if !FABLE_COMPILER || FABLE_COMPILER_3
199199
/// <summary>

0 commit comments

Comments
 (0)