[Haskell-cafe] containers license issue

Johan Tibell johan.tibell at gmail.com
Wed Dec 12 23:11:31 CET 2012


On Wed, Dec 12, 2012 at 12:09 PM, Clark Gaebel <cgaebel at uwaterloo.ca> wrote:
> Possibly. I tend to trust GHC's strictness analyzer until proven otherwise,
> though. Feel free to optimize as necessary.

The GHC strictness analyzer will have no troubles with this. Since the
return type is Word64, there's no place for thunks to hide as Word64
is defined as:

    data Word64 = W64# Word#  -- on 64-bit archs

or some such. Since Word# is unlifted it cannot be a pointer (to a thunk).



More information about the Haskell-Cafe mailing list