aboutsummaryrefslogtreecommitdiff
path: root/challenge-059/khalid
diff options
context:
space:
mode:
authorTyler Wardhaugh <tyler.wardhaugh@gmail.com>2020-10-08 13:27:25 -0700
committerTyler Wardhaugh <tyler.wardhaugh@gmail.com>2020-10-08 13:27:25 -0700
commitf5e4a7bc97c2642cf5cc3650a062c37bb8b4dbc7 (patch)
treeac2d264af5241ac9238245c59cb33efe4a2c8172 /challenge-059/khalid
parent01d318f579ad3fdae1b796d57e83daccbe2c4198 (diff)
downloadperlweeklychallenge-club-f5e4a7bc97c2642cf5cc3650a062c37bb8b4dbc7.tar.gz
perlweeklychallenge-club-f5e4a7bc97c2642cf5cc3650a062c37bb8b4dbc7.tar.bz2
perlweeklychallenge-club-f5e4a7bc97c2642cf5cc3650a062c37bb8b4dbc7.zip
Ch81/Task 2: optimize and add comments
We just need a count of the words, which can be achieved by summing (via x/reduce +) 1 for every instance we find. Add comments to clarify what the algorithm is doing at each step.
Diffstat (limited to 'challenge-059/khalid')
0 files changed, 0 insertions, 0 deletions