Re: Loading GHC into GHCi (and ghcid)

2018-06-08 Thread Joachim Breitner
Hi, Am Donnerstag, den 07.06.2018, 17:05 -0400 schrieb Ben Gamari: > How about on a new page (e.g. Building/InGhci) linked to from, > > * https://ghc.haskell.org/trac/ghc/wiki/Building > * https://ghc.haskell.org/trac/ghc/wiki/WorkingConventions (in the Tips >& Tricks section) > > It

Re: Loading GHC into GHCi (and ghcid)

2018-06-08 Thread Simon Marlow
On 7 June 2018 at 22:25, Evan Laforge wrote: > On Thu, Jun 7, 2018 at 1:47 PM, Simon Marlow wrote: > > For loading large amounts of code into GHCi, you want to add -j +RTS > > -A128m where is the number of cores on your machine. We've found that > > parallel compilation works really well in

Re: Loading GHC into GHCi (and ghcid)

2018-06-08 Thread Simon Marlow
On 8 June 2018 at 00:33, Evan Laforge wrote: > On Thu, Jun 7, 2018 at 2:48 PM, Bartosz Nitka wrote: > > What version of GHC are you using? > > There have been some significant improvements like > > https://phabricator.haskell.org/rGHCb8fec6950ad99cbf11cd22698b > 8d5ab35afb828f, > > that only

Re: Loading GHC into GHCi (and ghcid)

2018-06-08 Thread Simon Marlow
On 8 June 2018 at 19:18, Evan Laforge wrote: > On Fri, Jun 8, 2018 at 12:29 AM, Simon Marlow wrote: > > heap profiler for a while. However, I imagine at some point loading > > everything into GHCi will become unsustainable and we'll have to explore > > other strategies. There are a couple of

Re: Loading GHC into GHCi (and ghcid)

2018-06-08 Thread Evan Laforge
On Fri, Jun 8, 2018 at 12:29 AM, Simon Marlow wrote: > heap profiler for a while. However, I imagine at some point loading > everything into GHCi will become unsustainable and we'll have to explore > other strategies. There are a couple of options here: > - pre-compile modules so that GHCi is

Re: Loading GHC into GHCi (and ghcid)

2018-06-08 Thread Evan Laforge
On Fri, Jun 8, 2018 at 11:46 AM, Simon Marlow wrote: > I'm slightly surprised that it keeps breaking for you, given that this is a > core feature of GHCi and we have multiple tests for it. You'll need to > remind me - what were the bugs specifically? Maybe we need more tests. Most recently, 8.2