Nautical bell: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (→‎{{header|J}}: Fix link and comment: Perl 6 --> Raku)
Line 670: Line 670:


=={{header|J}}==
=={{header|J}}==
{{trans|Perl6}}
{{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 Perl6's.
'''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).