You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had very limited interaction with REPL in past, but getting to use it more now. Usually loading file with haskell-process-load-or-reload works correctly only first time, if I'll modify source and reload it REPL does not work. For example, loaded modules are unavailable (<interactive>:1:1: Not in scope: …), or main action could not be run:
λ> main
Too late for parseStaticFlags: call it before runGhc or runGhcT
*** Exception: ExitFailure 1
To resolve this I have to simply reload file once again without any modifications, after that everything work. I don't know is it some recent breakage or old bug. I've faced this issue with single haskell files and with cabal projects too.