Nautical bell: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
SqrtNegInf (talk | contribs) m (→{{header|J}}: Fix link and comment: Perl 6 --> Raku) |
||
Line 670: | Line 670: | ||
=={{header|J}}== |
=={{header|J}}== |
||
{{trans| |
{{trans|Raku}} |
||
'''Solution''':<lang j>require 'strings printf' |
'''Solution''':<lang j>require 'strings printf' |
||
Line 734: | Line 734: | ||
)</lang> |
)</lang> |
||
'''Examples''': Invoke <tt>shipsWatch 0</tt>; the output is identical to |
'''Examples''': Invoke <tt>shipsWatch 0</tt>; the output is identical to Raku's. |
||
'''Notes''': I tested the <tt>clock2ship</tt>, <tt>callWatch</tt>, and <tt>ringBell</tt> functions, but didn't actually have the patience to test <tt>shipsWatch</tt> over a 24-hour period. Use at your own risk (but don't use it to keep watch on your galleon, please). |
'''Notes''': I tested the <tt>clock2ship</tt>, <tt>callWatch</tt>, and <tt>ringBell</tt> functions, but didn't actually have the patience to test <tt>shipsWatch</tt> over a 24-hour period. Use at your own risk (but don't use it to keep watch on your galleon, please). |