<div dir="ltr">On Wed, May 1, 2013 at 2:13 PM, Conal Elliott <span dir="ltr">&lt;<a href="mailto:conal@conal.net" target="_blank">conal@conal.net</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div>I&#39;m using the GHC API to compile Haskell source code to Core. I&#39;d like to pretty-print the result with the sort of simplifications I get with -dsuppress-type-applications, -dsuppress-uniques, etc (used in combination with -ddump-simpl on ghc&#39;s command line). How can I set these options via the GHC API? Has the answer changed since 7.4.1 (which I&#39;m currently using)?<br>

</div></div></blockquote><div><br></div><div style>I&#39;d also be interested in the answer and whatever you&#39;re working on Conal. I spend more time looking at core than I like and anything that can made that time more efficient would be great.</div>

<div style> </div></div></div></div>