Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 331 Bytes

ghc-repl-restart-to-load-new-dependency.md

File metadata and controls

8 lines (5 loc) · 331 Bytes

Restart ghc when a new dependency can't be loaded

I was stuck wondering why the new dependency that i added to my .cabal file and installed both with stack and cabal wasn't found when i import it and load the file in ghc, it turned i just had to restart ghc repl to have it loaded.

(Note to self: Remember this next time).