Hello 👋
I have huge performance issues with using flycheck-haskell on any project that doesn't use stack as a build tool. Even basic text editing is incredibly slow while working on those files. The workaround is to $ touch stack.yaml which fixes the issue (no matter that file is empty). Another possible workaround is to uninstall stack completely from the system. It seems to me that something has to be recursively looking for nearest stack.yaml file while blocking the ui.
Tested on NixOS using GNU Emacs 25.3.1 and GNU Emacs 26.1 with the latest version of flycheck-haskell.