uses-softfloat With ghc-8.6.3 installed, do: cabal new-build uses-softfloat Assuming that works (which it did for me), do cabal new-repl uses-softfloat which causes the "panic (impossible happened)" error.