Rosetta Code/Count examples: Difference between revisions
m
→{{header|J}}: update changed utility name
m (→{{header|Java}}: Forgot to remove the incorrect template) |
m (→{{header|J}}: update changed utility name) |
||
Line 204:
=={{header|J}}==
'''Solution:'''<br>
Using <code>
<lang j>require 'web/gethttp'
getAllTaskSolnCounts=: monad define
tasks=.
counts=. getTaskSolnCounts &> tasks
tasks;counts
Line 228:
'''Example Usage:'''
<lang j> formatSolnCounts getAllTaskSolnCounts ''
100 doors:
...</lang>
|