$ cabal install arithmoi-0.4.0.3
results in multiple errors like:
Math/NumberTheory/Moduli.hs:489:4: error: invalid preprocess
Possible workaround here.
xCode 5 comes with clang as c/c++/obj-c compiler. Haskell Platform is not ready for that. The next ghc release will fix that.
xCode 5
clang
Haskell Platform
ghc
Also see here.