Haddocks for seq suggest using pseq from parallel when pseq is available from GHC.Conc in base
See http://downloads.haskell.org/~ghc/9.4.1-alpha2/docs/libraries/base/Prelude.html#v:seq:
If you need to guarantee a specific order of evaluation, you must use the function pseq from the "parallel" package.
The suggestion to use a (non-boot) package for accessing pseq
is surprising when pseq
is actually available from base
itself: http://downloads.haskell.org/~ghc/9.4.1-alpha2/docs/libraries/base/GHC-Conc.html#v:pseq
Maybe pseq
should gain the haddocks from parallel
though: https://hackage.haskell.org/package/parallel-3.2.2.0/docs/Control-Parallel.html#v:pseq