From 35b62156f5cd43d5524b28b714ec8d9cb14459db Mon Sep 17 00:00:00 2001 From: Hampus Linderstam <70235638+hampussle@users.noreply.github.com> Date: Thu, 1 Aug 2024 11:08:35 +0200 Subject: [PATCH] Fix incorrect example result in list module documentation for 'fold2'. --- src/FSharp.Core/list.fsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FSharp.Core/list.fsi b/src/FSharp.Core/list.fsi index 5393fd14439..e14fe7eb447 100644 --- a/src/FSharp.Core/list.fsi +++ b/src/FSharp.Core/list.fsi @@ -821,7 +821,7 @@ module List = /// | Tails, Tails -> acc + 1 /// | _ -> acc) /// - /// Evaluates to 1. Note acc is a commonly used abbreviation for "accumulator". + /// Evaluates to 2. Note acc is a commonly used abbreviation for "accumulator". /// [] val fold2<'T1,'T2,'State> : folder:('State -> 'T1 -> 'T2 -> 'State) -> state:'State -> list1:'T1 list -> list2:'T2 list -> 'State