From 9d5575592fcafe77eeaf9971d3f3763d512ef86a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 16 Nov 2023 13:49:06 +0100 Subject: Basic arithmetic is hard --- docs/wiki_src/coding/mixfix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/wiki_src/coding') 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 -- cgit v1.2.3