Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize wholeModule's type #14

Open
S11001001 opened this issue Jan 20, 2015 · 0 comments
Open

Generalize wholeModule's type #14

S11001001 opened this issue Jan 20, 2015 · 0 comments
Labels

Comments

@S11001001
Copy link
Member

wholeModule in Ermine.Parser.Module shouldn't assume it can get at a Module, because we might throw it away in favor of a more "compiled" representation in the cache. So its signature should be generalized, perhaps the way importedFixities is generalized.

The same applies to Ermine.Console.Module.moduleLoader's MonadState constraint, which is too specific to support different representations of the module cache. The solution is less obvious here, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant