GHCi for GHC 8.2.1 crashed with simple function?
I'm a newbie here, but I'm following your instructions!
I started GHCi, defined a simple factorial function and then called it and... it crashed.
let f 0 = 0
f n = n * f (n-1)
f 0
That is what I introduced in the console... After that computer hanged and gave me the following error:
ghc: panic! (the 'impossible' happened)
(GHC version 8.2.1 for x86_64-apple-darwin):
thread blocked indefinitely in an MVar operation
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
EDIT: This was done on a macOS 10.12.6 system with the Haskell Platform installed via Homebrew, with no further "customization".