cleanup haskell solutions