Skip to content

Superimposing pragma lists - #41

Merged
hshkk merged 8 commits into
mainfrom
exts
Nov 20, 2026
Merged

hshkk merged 8 commits into
mainfrom
exts

Conversation

@hshkk

@hshkk hshkk commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

This PR switches LayeredHaskell-make's dependency on haskell-src to haskell-src-exts for the sake of flexibility. Not only is haskell-src-exts more robust in that it can parse Haskell 2010 programs, but it allows us to more effectively merge pragmas (language extensions, tool options, etc.) if we end up having to use them in our project. Currently we only have OPTIONS_HADDOCK hide to hide the generated files from Haddock, but it could be that we need other extensions down the line. I think it would be nice to have this flexibility with only (effectively) small changes to the implementation, instead of trying to fix it in the moment. This PR intends to close Issue #38.

From the outside, the superimposition system produces basically the exact same output as before. However, it is now more modernized.

@hshkk hshkk added quality of life Small changes improving user experience implementation Implementation of a new feature labels Nov 19, 2026
@hshkk hshkk linked an issue Nov 19, 2026 that may be closed by this pull request
@hshkk
hshkk marked this pull request as ready for review November 20, 2026 05:14
@hshkk
hshkk merged commit 9445c88 into main Nov 20, 2026
2 checks passed
@hshkk
hshkk deleted the exts branch November 20, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

implementation Implementation of a new feature quality of life Small changes improving user experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

haskell-src-exts

2 participants