Renumbered Haskell solutions.