diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 14:20:18 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 14:20:18 -0400 |
| commit | 2bb2ff871fa1761478442bec5f6a32c9428360a1 (patch) | |
| tree | 9b73df7a0c50c02353ae7bca7c2cd54788ef0077 /docs/reductions.md | |
| parent | 59845e610f2c90474f34079d27b5f1e07071ded4 (diff) | |
Change method calls to use `foo.baz()` instead of `foo:baz()`
Diffstat (limited to 'docs/reductions.md')
| -rw-r--r-- | docs/reductions.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reductions.md b/docs/reductions.md index 959d9701..7aadd30b 100644 --- a/docs/reductions.md +++ b/docs/reductions.md @@ -80,7 +80,7 @@ maximum value _according to some feature_. = "aaaaa" # Get the number with the biggest absolute value: ->> (_max_:abs(): [1, -2, 3, -4])! +>> (_max_.abs(): [1, -2, 3, -4])! = -4 ``` @@ -96,6 +96,6 @@ while filtering out values or while applying a transformation: = 6 # Sum the primes between 1-100: ->> (+: i for i in 100 if i:is_prime())! +>> (+: i for i in 100 if i.is_prime())! = 1060 ``` |
