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

fix: normalize haskell libraries that have no version component #52

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

swest50
Copy link
Collaborator

@swest50 swest50 commented Jan 22, 2025

Some Haskell library names (libHS prefix) may only have the suffix denoting the ghc compiler version used (e.g. -ghc8.6.5).

This fixes a bug in the Python implementation of the Haskell name normalization.
Corresponds to PR #46 which fixed the same issue in the Rust library.

This change adds a test to check that this case is normalized correctly, and fixes the normalization function to treat the version number component as optional.

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