From 575ae9071c3faf117f974fe437e13126258c0acb Mon Sep 17 00:00:00 2001 From: Edward Brey Date: Mon, 4 Nov 2019 10:45:31 -0600 Subject: [PATCH] Guarantee partition predicate evaluation One of the [design goals](https://github.com/fsharp/fslang-design/blob/master/FSharp-4.0/ListSeqArrayAdditions.md#regular-functional-operators-producing-two-or-more-output-collections) of the `partition` functions that the predicate is evaluated only once (not twice) per item. This should be documented guarantee so that developers can take advantage of it. --- docs/conceptual/list.partition['t]-function-[fsharp].md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conceptual/list.partition['t]-function-[fsharp].md b/docs/conceptual/list.partition['t]-function-[fsharp].md index d9677ba1..28503cd6 100644 --- a/docs/conceptual/list.partition['t]-function-[fsharp].md +++ b/docs/conceptual/list.partition['t]-function-[fsharp].md @@ -35,7 +35,7 @@ List.partition predicate list Type: **'T ->**[bool](https://msdn.microsoft.com/library/89c0cf9c-49ce-4207-a3be-555851a67dd5) -The function to test the input elements. +The function to test the input elements. This predicate is evaluated once for each input element. *list*