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

Optional dependency on binary via package flags #224

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

LaurentRDC
Copy link
Collaborator

This pull request is a continuation of #111 , but only for the binary package (and Binary instances).

I restricted to binary because this is what I use and could test quickly; happy to add more instances and flags if people are interested.

99% of this work was done by @dmcclean ; thank you!

@bjornbm
Copy link
Owner

bjornbm commented Aug 20, 2024

Thanks @LaurentRDC! For the record, what “environment” (GHC, etc.) did you test in?

FYI I ran a build on LTS Haskell 20.24 (ghc-9.2.7) and tested with stack test --flag dimensional:binary --haddock --no-haddock-deps --bench. All completed fine and the haddocks showed the Binary instances.

@LaurentRDC
Copy link
Collaborator Author

I tested exclusively with GHC 9.10.1

@LaurentRDC
Copy link
Collaborator Author

LaurentRDC commented Aug 20, 2024

For my next contribution, I'll set up Github Actions for multiple GHC versions ;)

@bjornbm bjornbm merged commit 7a90ae0 into bjornbm:master Aug 21, 2024
@LaurentRDC LaurentRDC deleted the optl-binary-instances branch August 21, 2024 15:50
@bjornbm
Copy link
Owner

bjornbm commented Aug 21, 2024

Thanks @LaurentRDC!

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.

2 participants