Scripts merged for easily loading and running GHC in GHCi, for fast development iterations

Artem Pelenitsyn a.pelenitsyn at gmail.com
Mon Aug 6 07:55:43 UTC 2018


I added this to the wiki. It would be nice to have a wrapper similar to
`run.sh` but for starting ghcid, I believe.

--
Best wishes,
Artem

On Sun, 29 Jul 2018 at 10:41 Matthew Pickering <matthewtpickering at gmail.com>
wrote:

> Can you please update the wiki page?
>
> https://ghc.haskell.org/trac/ghc/wiki/Building/InGhci
>
> Matt
>
> On Sun, Jul 29, 2018 at 6:18 AM, Michael Sloan <mgsloan at gmail.com> wrote:
> > Hello GHC developers!
> >
> > Now that D4904 and D4986 are merged, if you have recently built GHC
> > then you can use "./utils/ghc-in-ghci/run.sh -fobject-code" to load
> > GHC into GHCi (throwing on a "-j8" helps too).  For me, this makes
> > development far more pleasant, as often I can make a change and try it
> > out in only 15 or 20 seconds.  Thanks to Csongor Kiss for writing the
> > initial ghci script, and Matthew Pickering for posting about it to the
> > mailinglist, as otherwise I probably wouldn't have known about it.
> >
> > I wrote a blog post about the topic on my new blog:
> > http://www.mgsloan.com/posts/ghcinception/
> >
> > Once D5015 is merged, the explicit "-fobject-code" won't be needed.
> > Once https://ghc.haskell.org/trac/ghc/ticket/15454 is addressed, it
> > might not be needed at all, leading to even faster loading ;)
> >
> > Happy ghci-ing!
> > -Michael
> > _______________________________________________
> > ghc-devs mailing list
> > ghc-devs at haskell.org
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180806/edeb1080/attachment.html>


More information about the ghc-devs mailing list