deepseq
deepseq copied to clipboard
Deep evaluation of data structures
Please see http://stackoverflow.com/questions/41884350/performance-difference-with-unpacking?noredirect=1#comment70951584_41884350 I have 2 datatypes for 4x4 matrix of Float: 1) Matrix made of four four-element vectors of Float 2) Matrix of 16 elements of Float I suppose...
It's missing, and seems like there is no reason to omit it.
I'd like a type that can be used to wrap values for which I want WHNF = NF. This is useful for satisfying NFData constraints with criterion for example. ```...
It's possible to define a reasonable `NFData` instance for any `Foldable` type. We can offer a suitable `rnf` to help. ``` haskell data Unit = Unit instance Monoid Unit where...
NFData instances could be provided for `UArray`, `STUArray` and `IOUArray` from the array package: https://hackage.haskell.org/package/array PS: I find it a little odd that `deepseq` depends on `array` and has to...
Fixes #49. Clarify that `f x` may be evaluated before `x` is fully evaluated. Wording improvements are welcome.
Hi there! Please would it be possible to make an updated release on Hackage to support GHC 9.10.1 and [`base-4.20.0.0`](https://hackage.haskell.org/package/base-4.20.0.0)? I think this should now be possible, given the merge...
The "Generic NFData deriving" documentation section shows how to derive instances of both `NFData` and `NFData1` for `Foo`, but it doesn't say anything about when generic instances need `NFData1` (the...
This will also require a Hackage revision.