Nautical bell: Difference between revisions
m
→{{header|J}}: Fix link and comment: Perl 6 --> Raku
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:
=={{header|J}}==
{{trans|
'''Solution''':<lang j>require 'strings printf'
Line 734:
)</lang>
'''Examples''': Invoke <tt>shipsWatch 0</tt>; the output is identical to
'''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).
|