Skip to content

Reduce code duplication #6731

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

Merged
merged 1 commit into from
May 6, 2025
Merged

Reduce code duplication #6731

merged 1 commit into from
May 6, 2025

Conversation

mpilgrem
Copy link
Member

@mpilgrem mpilgrem commented May 5, 2025

Moves packagesParser into its own module, and uses it in modules Stack.Options.GhciParser and Stack.Options.ScriptParser.

Creates loadCommonPackage' and uses it in loadCommonPackage and loadLocalPackage.

Also adds missing Haddock documentation.

  • Any changes that could be relevant to users have been recorded in ChangeLog.md.
  • The documentation has been updated, if necessary

Please also shortly describe how you tested your change. Bonus points for added tests! Relying on CI.

Moves `packagesParser` into its own module, and uses it in modules `Stack.Options.GhciParser` and `Stack.Options.ScriptParser`.

Creates `loadCommonPackage'` and uses it in `loadCommonPackage` and `loadLocalPackage`.

Also adds missing Haddock documentation.
@mpilgrem mpilgrem merged commit 3089c3d into master May 6, 2025
13 checks passed
@mpilgrem mpilgrem deleted the haddock-2 branch May 6, 2025 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant