summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-05-05 09:56:54 +0100
committerPaul Buetow <git@mx.buetow.org>2021-05-21 05:11:04 +0100
commita0a2af847e31cb31ca134e92412d60d17294b4f8 (patch)
treeb71538add934ed3d457f1dafbf0921f89b041992
parent5b54c2c0505d37a6caccb49bf2c62d89a664a35a (diff)
fix
-rw-r--r--content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi2
-rw-r--r--content/html/gemfeed/2010-05-09-the-fype-programming-language.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi b/content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi
index 9aa3b675..3b008457 100644
--- a/content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi
+++ b/content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.gmi
@@ -477,7 +477,7 @@ bar; # Will produce an error, because bar is out of scope!
## Arrays
-Some progress on arrays has been made too. The following example creates a multi dimensional array "foo". Its first element is the return value of the func which is 0. The fourth value is a string ”3” converted to a double number. The last element is an anonymous array which itself contains another anonymous array as its last element:
+Some progress on arrays has been made too. The following example creates a multi dimensional array "foo". Its first element is the return value of the func which is "bar". The fourth value is a string ”3” converted to a double number. The last element is an anonymous array which itself contains another anonymous array as its last element:
```
func bar { say ”bar” }
diff --git a/content/html/gemfeed/2010-05-09-the-fype-programming-language.html b/content/html/gemfeed/2010-05-09-the-fype-programming-language.html
index 5dd8e5e0..1dd0d340 100644
--- a/content/html/gemfeed/2010-05-09-the-fype-programming-language.html
+++ b/content/html/gemfeed/2010-05-09-the-fype-programming-language.html
@@ -397,7 +397,7 @@ foo;
bar; # Will produce an error, because bar is out of scope!
</pre>
<h2>Arrays</h2>
-<p>Some progress on arrays has been made too. The following example creates a multi dimensional array "foo". Its first element is the return value of the func which is 0. The fourth value is a string ”3” converted to a double number. The last element is an anonymous array which itself contains another anonymous array as its last element:</p>
+<p>Some progress on arrays has been made too. The following example creates a multi dimensional array "foo". Its first element is the return value of the func which is "bar". The fourth value is a string ”3” converted to a double number. The last element is an anonymous array which itself contains another anonymous array as its last element:</p>
<pre>
func bar { say ”bar” }
my foo = [bar, 1, 4/2, double ”3”, [”A”, [”BA”, ”BB”]]];