It's a common misconception that Haskell is slow to compile but not really true, see for example: http://www.shimweasel.com/2016/10/24/fast-tests-and-static-l...
This program is also too big to load in GHCi, at least on my laptop with 8GiB of memory.
That blog post just says that interpreting Haskell can be faster than compiling.
I worked with Haskell professionally on a pretty large codebase. It was split up into many separate libraries and binaries. There were a lot of coffee breaks when recompiling.
https://www.reddit.com/r/haskell/comments/45q90s/is_anything...