From b4a8df737daa15e4cb6ee3fd52e967389cc973c1 Mon Sep 17 00:00:00 2001 From: Nicklas Sindlev Andersen Date: Sun, 22 Jan 2023 22:39:10 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6e35d6d..089d352 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ pub fn main() { float_list.extrema([10.0, 3.0, 50.0, 20.0, 3.0]) // Returns Tuple: Ok(#(3.0, 50.0)) - // Find the list indices of the largest values - int_list.arg_maximum([10, 3, 50, 20, 3]) + // Find the list indices of the smallest value + int_list.arg_minimum([10, 3, 50, 20, 3]) // Returns List: Ok([1, 4]) } @@ -42,4 +42,4 @@ with the prefix `gleam_community_`. You can add them to your Gleam projects dire ```sh gleam add gleam_community_maths -``` \ No newline at end of file +```