Fixing up the Haskell countprimes.hs code.