-
Notifications
You must be signed in to change notification settings - Fork 41
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
Always drop "Haskell." prefix from module names #379
Conversation
Three things to consider before merging this:
|
Related: #316 |
This is a nice idea:) I often utilise similar concepts, and this would be of great help.
|
Regarding the first two: actually, if we implement the second and enforce no Haskell code being generated from I like the idea of having a pragma that should be in every module under |
d597a20
to
af409aa
Compare
I added the check that modules under the |
This supersedes #297. The idea (due to @omelkonian) is that any module starting with
Haskell.
should be treated as defining part of the FFI with Haskell and should thus not be checked for having COMPILE pragmas, but instead be assumed to exist on the Haskell side while dropping theHaskell.
prefix from the module name.