Back in 2011, I had limited success using JHC in a similar way, but for iOS instead of Android. The initial results were good in just starting this thing, but we ended up abandoning the JHC in favor of the GHC precisely because we started getting weird error compilation times in programs that used Parsec. Keep in mind that this was in 2011, so the JHC may have improved significantly since then.
If you want to give GHC a chance, I would recommend looking at this example , which uses GHC 7.8 to compile an Android game. I have not used it in anger yet, but I managed to get it to work on Docker, having made it possible to rebuild the game from scratch and install it on a real Android device, so the approach definitely deserves attention.
UPDATE as of August 2017: Moritz Angerman has published detailed instructions on targeting Android using the GHC cross-compiler .
source share