<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Getting you some raw data to look at but first results indicate at least that `DsMonad` is pulling in `nativeGen`, `llvmGen`, `stgToCmm`, `simplCore`, `hieFile` and so on.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 17, 2019 at 12:05 PM Shayne Fletcher <<a href="mailto:shayne.fletcher@daml.com">shayne.fletcher@daml.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Seeing what I can do.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 17, 2019 at 10:31 AM Sebastian Graf <<a href="mailto:sgraf1337@gmail.com" target="_blank">sgraf1337@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Shayne,</div><div><br></div><div>out of curiosity, could you find out which of the three modules DsMonad, FamInst and TcSimplify lead to the blowup? If it's not too much of a hassle, that is.</div><div>These are the only imports of PmOracle that aren't already exported from ghc-lib-parser.</div><div><br></div><div>Cheers,</div><div>Sebastian<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 16. Sept. 2019 um 22:38 Uhr schrieb Shayne Fletcher <<a href="mailto:shayne.fletcher@daml.com" target="_blank">shayne.fletcher@daml.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Sebastian,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 16, 2019 at 5:23 PM Sebastian Graf <<a href="mailto:sgraf1337@gmail.com" target="_blank">sgraf1337@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Shayne,</div><div><br></div><div>Sorry to hear that! We didn't consider modularity at all and I would be happy to try to refactor in a way that would allow `ghc-lib-parser` to be properly separated again.</div><div>I'm fairly certain that I didn't directly touch anything parser related, but apparently the new cyclic import of PmOracle within TcRnTypes (which is also exposed from `ghc-lib-parser`) pulled in the other half of GHC.</div><div>I'll see if I can fix that tomorrow, if only by extracting a separate `Types`-style module.</div><div><br></div></div></blockquote><div><br><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">That sounds awesome. Tremendous. Thank-you! Please feel free to reach out to me if there's anything I can do to help your analysis[*]!<br><br>[*] For the record, the procedure for calculating the `ghc-lib-parser` modules is a little complicated by there needing to be some generated equivalents of `.hsc` files present for this to work but the procedure is at the end of the day just `ghc -M` invoked over `Parser.hs`.</div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>Cheers,</div><div>Sebastian<br></div></div></blockquote><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br>Fingers crossed and all the best!<br><br></div></div>-- <br><div dir="ltr" class="gmail-m_6575147449187251023gmail-m_-6677280022629244465gmail-m_-1240391558970810452gmail-m_-3246644199011644943gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="letter-spacing:normal;padding:10px 0px 10px 10px;width:300px;max-width:300px;color:rgb(26,40,77);font-size:12px"><div style="color:rgb(33,33,33);font-size:13px"><div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="padding:10px 0px 10px 10px;width:300px;max-width:300px;color:rgb(26,40,77);font-size:12px"><div style="color:rgb(34,34,34);font-size:small"><b><font color="#000000">Shayne Fletcher</font></b><br></div><div style="font-size:small;color:rgb(80,0,80)"><font size="1"><font color="#444444">Language Engineer </font><font color="#0b5394"><b>/</b></font><font color="#444444"> +1 917 699 7663</font><br></font></div><font style="color:rgb(34,34,34)" size="1"><a href="https://digitalasset.com/" style="color:rgb(17,85,204)" target="_blank"><b><font color="#3d85c6">Digital Asset</font></b></a><font style="color:rgb(26,40,77)">, creators of </font><b><a href="https://daml.com/" style="color:rgb(17,85,204)" target="_blank"><font color="#3d85c6">DAML</font></a></b></font><br></div></div></div></div></div></div></div></div><div style="font-family:sans-serif;color:rgb(33,33,33);font-size:13px"></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)">This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at </span><a href="http://www.digitalasset.com/emaildisclaimer.html" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)" target="_blank">http://www.digitalasset.com/emaildisclaimer.html</a><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)">. If you are not the intended recipient, please delete this message.</span></blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_6575147449187251023gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="letter-spacing:normal;padding:10px 0px 10px 10px;width:300px;max-width:300px;color:rgb(26,40,77);font-size:12px"><div style="color:rgb(33,33,33);font-size:13px"><div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="padding:10px 0px 10px 10px;width:300px;max-width:300px;color:rgb(26,40,77);font-size:12px"><div style="color:rgb(34,34,34);font-size:small"><b><font color="#000000">Shayne Fletcher</font></b><br></div><div style="font-size:small;color:rgb(80,0,80)"><font size="1"><font color="#444444">Language Engineer </font><font color="#0b5394"><b>/</b></font><font color="#444444"> +1 917 699 7663</font><br></font></div><font size="1" style="color:rgb(34,34,34)"><a href="https://digitalasset.com/" style="color:rgb(17,85,204)" target="_blank"><b><font color="#3d85c6">Digital Asset</font></b></a><font style="color:rgb(26,40,77)">, creators of </font><b><a href="https://daml.com/" style="color:rgb(17,85,204)" target="_blank"><font color="#3d85c6">DAML</font></a></b></font><br></div></div></div></div></div></div></div></div><div style="font-family:sans-serif;color:rgb(33,33,33);font-size:13px"></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="letter-spacing:normal;padding:10px 0px 10px 10px;width:300px;max-width:300px;color:rgb(26,40,77);font-size:12px"><div style="color:rgb(33,33,33);font-size:13px"><div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="padding:10px 0px 10px 10px;width:300px;max-width:300px;color:rgb(26,40,77);font-size:12px"><div style="color:rgb(34,34,34);font-size:small"><b><font color="#000000">Shayne Fletcher</font></b><br></div><div style="font-size:small;color:rgb(80,0,80)"><font size="1"><font color="#444444">Language Engineer </font><font color="#0b5394"><b>/</b></font><font color="#444444"> +1 917 699 7663</font><br></font></div><font size="1" style="color:rgb(34,34,34)"><a href="https://digitalasset.com/" style="color:rgb(17,85,204)" target="_blank"><b><font color="#3d85c6">Digital Asset</font></b></a><font style="color:rgb(26,40,77)">, creators of </font><b><a href="https://daml.com/" style="color:rgb(17,85,204)" target="_blank"><font color="#3d85c6">DAML</font></a></b></font><br></div></div></div></div></div></div></div></div><div style="font-family:sans-serif;color:rgb(33,33,33);font-size:13px"></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;background-color:rgb(255,255,255)">This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at </span><a href="http://www.digitalasset.com/emaildisclaimer.html" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:12.8px;background-color:rgb(255,255,255)" target="_blank">http://www.digitalasset.<wbr>com/emaildisclaimer.html</a><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;background-color:rgb(255,255,255)">. If you are not the intended recipient, please delete this message.</span>