Made the Haskell version literate, emphasizing its comparison with the C++ version.