An excuse to learn parallel Haskell.
Needed only once after cloning the repo:
$ cabal sandbox init
$ cabal update
Compile and install after each code change:
$ cabal install -j
The binary is placed in this repository checkout under .cabal-sandbox/bin/frequency
$ ./run.sh /path/to/file.txt