diff options
author | Marvin Borner | 2023-11-16 13:49:06 +0100 |
---|---|---|
committer | Marvin Borner | 2023-11-16 13:49:06 +0100 |
commit | 9d5575592fcafe77eeaf9971d3f3763d512ef86a (patch) | |
tree | 383460f10b74fcc3ec390824f1ba515d9ed56aaf /docs/wiki_src | |
parent | 53886ba80e1e95a058e9c6b393d6f0ce3b6cdf9f (diff) |
Basic arithmetic is hard
Diffstat (limited to 'docs/wiki_src')
-rw-r--r-- | docs/wiki_src/coding/mixfix.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/wiki_src/coding/mixfix.md b/docs/wiki_src/coding/mixfix.md index f42d0ab..d0838cf 100644 --- a/docs/wiki_src/coding/mixfix.md +++ b/docs/wiki_src/coding/mixfix.md @@ -22,7 +22,7 @@ for applications inside substitution holes. # evaluated as (5 - 2) + 1 = 4 :test ({ (+5) <$> (+2) | (+1)) ((+4)) -:test ({ ((+3) + (+1)) <$> (+2) | (+1)) ((+4)) +:test ({ ((+3) + (+2)) <$> (+2) | (+1)) ((+4)) ``` You can use them as normal functions by writing the identifier |