Abbreviations, automatic: Difference between revisions

m
(→‎{{header|Ruby}}: Removed in-code data)
Line 1,751:
=={{header|Perl 6}}==
{{works with|Rakudo|2017.08}}
Saving the "Days of Week, Also Known As" table to a local file [https://github.com/thundergnat/rc-run/blob/master/rc/resources/DoWAKA.txt. Note:DoWAKA.txt]. linesLines that have duplicate day names will get ∞ as the minimum number of characters, as there is no amount of characters that can be entered to distinguish the days uniquely. It is somewhat unclear as to what is meant by "return a null string". I have chosen to return Nil.
 
Note that this is using a previous version of the date file that has erroneous duplicate day names (see line 90). Since the effort was already expended to catch such problems, it may as well be demonstrated.
10,343

edits