[Haskell-cafe] Re: Trying to fix space leak

Jake McArthur jake.mcarthur at gmail.com
Mon Dec 31 14:51:04 EST 2007


On Dec 31, 2007, at 11:21 AM, Achim Schneider wrote:

> Jake McArthur <jake.mcarthur at gmail.com> wrote:
>
>> I disagree. It might be the case that the _contents_ of the data
>> structure are lazy, in which case I would say the relevant
>> constructor parameters should be made strict. As long as the
>> structural parts are still lazy it should be okay.
>>
>> And there's no harm in experimenting. :)
>>
> Or, for that matter, guessing what -ddump-simpl looks like.
>
> Which I never, ever, do. Seriously.

Touché.


More information about the Haskell-Cafe mailing list