Understanding strictness of ghc output

Simon Peyton-Jones simonpj at microsoft.com
Tue Jun 22 12:14:39 EDT 2004


it means Lazy, but it's misleading for unboxed types

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org
[mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of Adrian Hey
| Sent: 22 June 2004 17:09
| To: glasgow-haskell-users at haskell.org
| Subject: Re: Understanding strictness of ghc output
| 
| 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
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Glasgow-haskell-users mailing list