Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Conversation

@lukemaurer
Copy link

withInteractiveContext was adding the whole module graph to the interactive
context - including .hs-boot modules. This caused each symbol from any .hs-boot
to be loaded twice. The .hs-boot files are of no use to us anyway, so this patch
filters them out.

withInteractiveContext was adding the whole module graph to the interactive
context - including .hs-boot modules. This caused each symbol from any .hs-boot
to be loaded twice. The .hs-boot files are of no use to us anyway, so this patch
filters them out.
@DanielG
Copy link
Owner

DanielG commented Jan 17, 2016

I'd be curious to know how ghci handles this. I had a quick look yesterday and I couldn't find any sort of hs-boot specific code before they call setContext there at all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants