On Thu, Oct 14, 2010 at 2:52 PM, Evan Laforge <qdunkan@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