Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/FSharp.Core/list.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ module List =
/// match (input1, input2) with
/// | Head, Head -> acc + 1
/// | Tails, Tails -> acc + 1
/// | _ -> acc - 1)
/// | _ -> acc)
/// </code>
/// Evaluates to <c>1</c>. Note <c>acc</c> is a commonly used abbreviation for "accumulator".
/// </example>
Expand Down Expand Up @@ -1208,7 +1208,7 @@ module List =
/// let inputs1 = [ "a"; "b"; "c" ]
/// let inputs2 = [ "banana"; "pear"; "apple" ]
///
/// (inputs1, inputs2) ||> List.iteri2 (fun i s1 s2 -> printfn "Index {i}: {s1} - {s2}")
/// (inputs1, inputs2) ||> List.iteri2 (fun i s1 s2 -> printfn "Index %d: %s - %s" i s1 s2)
/// </code>
/// Evaluates to <c>unit</c> and prints
/// <code lang="fsharp">
Expand Down Expand Up @@ -1360,8 +1360,8 @@ module List =
///
/// <returns>The list of transformed elements, and the final accumulated value.</returns>
///
/// <example id="mapfold-1">
/// <code lang="fsharp">Accumulate the charges, and double them as well
/// <example id="mapfold-1">Accumulate the charges, and double them as well
/// <code lang="fsharp">
/// type Charge =
/// | In of int
/// | Out of int
Expand Down Expand Up @@ -2584,7 +2584,7 @@ module List =
/// let names = ["one"; "two"]
/// let roman = ["I"; "II"]
///
/// Array.zip3 numbers names roman
/// List.zip3 numbers names roman
/// </code>
/// Evaluates to <c>[(1, "one", "I"); (2, "two", "II")]</c>.
/// </example>
Expand Down