With a haskell program I generated a very big haskell file. Sometimes the generated haskell is not valid. If I load the genearated file in winGHCi a flood of error messages streams over the screen. If I press  ctrl-break WinGHCi stops and says interrupted. If I click Ok the program continues printing error messages. Ctrl-c or just c, doesn’t help. So I have to wait until WinGHCi has shown all error messages (can take minutes) or close the WinGHCi window. Ghci has (on Windows) the same behaviour. 

Is there a special key combination to stop Ghc or Ghci or is this a bug?

 

Kees