ftphs that compiles with ghc 7.6