[Haskell-cafe] Thunks

Mihai Maruseac mihai.maruseac at gmail.com
Fri Oct 15 01:18:21 EDT 2010


On Fri, Oct 15, 2010 at 1:19 AM, Jason Dagit <dagit at codersbase.com> wrote:
>
>
> On Thu, Oct 14, 2010 at 2:52 PM, Evan Laforge <qdunkan at gmail.com> wrote:
>>
>> > I don't know of any way to examine this for a running program.  You can
>> > get
>> > GHC to spit out core and STG using -ddump-core and -ddump-stg flags:
>>
>> There's no -ddump-core flag.  I was puzzled about the proper way to
>> get "final" core, and have been using -ddump-simpl, but I don't know
>> if that's correct.
>
> Indeed, I meant -ddump-simpl.  That's why I tried to link to the GHC
> manual, I make typos and it has extra info and enumerates the flags
> available :)  Just search that page for -ddump.
> Sorry about the confusing typo,
> Jason

Thanks, will look into the debugging dump flags. I should have done
this before asking :)

-- 
Mihai


More information about the Haskell-Cafe mailing list