From 9f0f3e545b2f3d97044e25ca969d8fe208cee4bd Mon Sep 17 00:00:00 2001 From: daniellionel01 <35135912+daniellionel01@users.noreply.github.com> Date: Tue, 1 Sep 2026 08:50:53 +0200 Subject: [PATCH] update wikipedia link --- src/gleam/list.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam index dcd5d4f9..01be474c 100644 --- a/src/gleam/list.gleam +++ b/src/gleam/list.gleam @@ -2192,7 +2192,7 @@ fn max_loop(list, compare, max) { } /// Returns a random sample of up to n elements from a list using reservoir -/// sampling via [Algorithm L](https://en.wikipedia.org/wiki/Reservoir_sampling#Optimal:_Algorithm_L). +/// sampling via [Algorithm L](https://en.wikipedia.org/wiki/Reservoir_sampling#Optimizing_running_time_by_skipping_elements). /// Returns an empty list if the sample size is less than or equal to 0. /// /// Order is not random, only selection is.