mirror of
https://github.com/sigmasternchen/gleam-community-maths
synced 2025-03-15 07:59:01 +00:00
Update README.md
This commit is contained in:
parent
23e2429353
commit
b4a8df737d
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue