Skip to content

Conversation

@derelbenkoenig
Copy link
Contributor

Summary

This PR moves markdown-unlit from dependencies to build-tools in the package.yaml test configuration and removes the corresponding empty import from README.lhs.

Why this change?

When markdown-unlit is listed in dependencies, we need to import it in the Haskell code to avoid unused-package warnings from GHC. However, since markdown-unlit is only used as a preprocessor (via -pgmL markdown-unlit), we don't actually need to import anything from it in our code.

By moving it to build-tools instead, we:

  • Avoid unused-package warnings without needing empty imports
  • Make the dependency relationship clearer (it's a build tool, not a runtime dependency)
  • Follow Stack/Cabal best practices for preprocessor dependencies

Changes

  • Moved markdown-unlit from dependencies to build-tools in package.yaml
  • Removed import Text.Markdown.Unlit () from README.lhs
  • Regenerated any files via stack build --fast --test --no-run-tests

🤖 Generated with Claude Code

This avoids unused-package warnings and removes the need for empty imports.

🤖 Generated with Claude Code
@derelbenkoenig derelbenkoenig requested a review from a team as a code owner September 23, 2025 20:45
@derelbenkoenig derelbenkoenig requested review from chris-martin and removed request for a team September 23, 2025 20:45
@derelbenkoenig
Copy link
Contributor Author

fun, a new deprecation warning

devin-ai-integration bot and others added 4 commits September 23, 2025 22:32
Change from nightly-2023-07-25 to nightly to use the
current nightly snapshot.

Co-Authored-By: robert.benson@renaissance.com <derelbenkoenig@gmail.com>
Replace deprecated 'split' function with 'splitGen' for compatibility
with newer random library versions in nightly snapshots

Co-Authored-By: robert.benson@renaissance.com <derelbenkoenig@gmail.com>
The split function is deprecated but will remain available for backward
compatibility. Using splitGen breaks older Stack resolvers that don't
have the SplitGen type class. Added pragma to suppress deprecation warning.

Co-Authored-By: robert.benson@renaissance.com <derelbenkoenig@gmail.com>
Specify nightly-2025-09-23 instead of just 'nightly' for reproducible builds.

Co-Authored-By: robert.benson@renaissance.com <derelbenkoenig@gmail.com>
@derelbenkoenig derelbenkoenig merged commit b3cd8c7 into main Sep 26, 2025
11 checks passed
@derelbenkoenig derelbenkoenig deleted the markdown-unlit-build-tools-20250923-164527 branch September 26, 2025 01:33
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.

3 participants