<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 7:33 PM, Ben Gamari <span dir="ltr"><<a href="mailto:ben@well-typed.com" target="_blank">ben@well-typed.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Unfortunately -fobject-code is necessary when loading GHC in GHCi as the<br>
bytecode interpreter doesn't support unboxed tuples, which various GHC<br>
modules use.<br></blockquote><div><br></div><div>There's a ticket for that: <a href="https://ghc.haskell.org/trac/ghc/ticket/1257">https://ghc.haskell.org/trac/ghc/ticket/1257</a> ("Bytecode generator can't handle unboxed tuples"). Fixing that would make it much easier to use GHCi to load the compiler, and allow setting breakpoints, make a change and use `:r` to reload etc. The ticket is closed as wontfix however.</div><div><br></div><div><br></div><div><br></div></div></div></div>