authorgravatar for 6508762+bsubei@users.noreply.github.combsubei <6508762+bsubei@users.noreply.github.com> 2024-07-21 16:01:20-04:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-01-26 20:53:25+01:00
log3f245616a511539797b77e9b4e7c0f0dacceda0b
tree2c0dd703ee578ec67f95f6b053626a22fa39b5c0
parent9c45fb4b0933970912966786a036cbf787e69ae6

link to Tuples section in Hello World docs, and give an example of an empty tuple


1 files changed, 3 insertions(+), 3 deletions(-)

doc/langref.html.in+3-3
......@@ -379,9 +379,9 @@
379379
380380 <p>
381381 In this case, the {#syntax#}!{#endsyntax#} may be omitted from the return
382 type because no errors are returned from the function.
382 type of <code>main</code> because no errors are returned from the function.
383383 </p>
384 {#see_also|Values|@import|Errors|Root Source File|Source Encoding#}
384 {#see_also|Values|Tuples|@import|Errors|Root Source File|Source Encoding|try#}
385385 {#header_close#}
386386 {#header_open|Comments#}
387387 <p>
......@@ -2295,7 +2295,7 @@ or
22952295
22962296 {#header_open|Tuples#}
22972297 <p>
2298 Anonymous structs can be created without specifying field names, and are referred to as "tuples".
2298 Anonymous structs can be created without specifying field names, and are referred to as "tuples". An empty tuple looks like <code>.{}</code> and can be seen in one of the {#link|Hello World examples|Hello World#}.
22992299 </p>
23002300 <p>
23012301 The fields are implicitly named using numbers starting from 0. Because their names are integers,