Jump to content

Nautical bell: Difference between revisions

m
→‎{{header|J}}: Fix link and comment: Perl 6 --> Raku
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (→‎{{header|J}}: Fix link and comment: Perl 6 --> Raku)
Line 670:
 
=={{header|J}}==
{{trans|Perl6Raku}}
 
'''Solution''':<lang j>require 'strings printf'
Line 734:
)</lang>
 
'''Examples''': Invoke <tt>shipsWatch 0</tt>; the output is identical to Perl6Raku'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).
2,392

edits

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