
12 Dec
2012
12 Dec
'12
5:11 p.m.
On Wed, Dec 12, 2012 at 12:09 PM, Clark Gaebel
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).