-
Notifications
You must be signed in to change notification settings - Fork 29
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
NFData instances for unboxed arrays from array #102
Comments
It should rather be other way around indeed. |
I looked into this a bit, and it seems there are two ways we can go about it. A.
|
Hi, any thoughts on this? |
Given that
I think the same could be achieved with automatic Cabal flags: a dependency cycle should be automatically rejected by Cabal solver, forcing flipping a flag. But this requires testing, and being boot packages is likely to complicate things. |
(@mixphix is a maintainer here, I'm just passing by) |
Could you explain what you mean be automatic Cabal flags? I didn't get that, but then again I'm not too familiar with Cabal stuff. |
Ah, that's even simpler then. I guess the only relevant part of my comment is that |
@mixphix would you please provide your opinion on this? If we're good with dropping the array dependency, I can make the PR here, then take up the rest of the work on the |
Dropping the |
The |
Thanks for the fast release! Why a major version bump though? |
@mixphix thanks for a quick turnaround! Did I miss a breaking change since 1.5.0.0? If there were none, could it be released as 1.5.1.0 (and 1.6.0.0 marked as deprecated so that it does not pop up in build plans, see how it was done for |
My apologies, I should have reviewed the PVP before releasing. I was under the impression that dropping a dependency required a major version bump. I'll re-release this as 1.5.1.0 and mark |
NFData instances could be provided for
UArray
,STUArray
andIOUArray
from the array package: https://hackage.haskell.org/package/arrayPS: I find it a little odd that
deepseq
depends onarray
and has to provide these, rather than the other way around.The text was updated successfully, but these errors were encountered: