Jump to content

Long literals, with continuations: Difference between revisions

m
→‎{{header|Raku}}: Incorrectly marked incorrect
(Added Go)
m (→‎{{header|Raku}}: Incorrectly marked incorrect)
Line 254:
=={{header|Raku}}==
 
{{incorrect|Raku| <br><br> The task is to have a list of the names of the elements, not their atomic weight and chemical element symbol. <br> Also, the element names are not capitalized. <br><br>}}
 
Incorrectly marked incorrect. Enforcing rules that exists only in somebodies head.
 
{{works with|Rakudo|2020.02}}
Not really sure I understand the point of this task. Seems to be load some list into memory and manipulate it somehow. Exceptionally boring to just read it in and then read it back out again. Perform some more interesting manipulations. Use < > quoting construct for literal string; unlimited (memory limited) characters, spaces don't matter, new-lines don't matter, blank lines don't matter.
 
''The point of the task is to show how to code a (as a literal) list of tokens, with (or without) continuation(s), and to verify the list by showing the number of elements, and also by showing the last element name in the list. Opinions such as the above should probably be better voiced in this task's talk page.''
 
<lang perl6>my %periodic;
10,333

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.