When I use the function haskell-process-do-type (C-c C-t) I often get the answer "Top level: Not in scope: foo'". This is because the query made byhaskell-modeuses the current content loaded inghci` and not the content of the file.
Is there a reason why the call to haskell-process-do-type does not reload the content of the file in ghci before querying it?
The same question applies to haskell-process-do-info (C-c C-i).