Understanding strictness of ghc output
Adrian Hey
ahey at iee.org
Tue Jun 22 12:09:01 EDT 2004
On Tuesday 22 Jun 2004 2:28 pm, Simon Peyton-Jones wrote:
> The DmdType for the Int# is indeed "L" but that's irrelevant because
> Int# values are always evaluated. The demand info is always L for an
> unboxed type.
Thanks, I had noticed it did appear to have decided h was unboxed
(assuming my interpretation of core was correct), so it seemed rather
strange that addHeight could be lazy (non-strict) in that argument.
So does L mean "Lazy", or something else?
Thanks
--
Adrian Hey
More information about the Glasgow-haskell-users
mailing list