Update README.md

This commit is contained in:
Nicklas Sindlev Andersen 2023-01-22 22:39:10 +01:00 committed by GitHub
parent 23e2429353
commit b4a8df737d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
```
```