Re: GitLab summary note on review

2021-10-12 Thread Ben Gamari
Richard Eisenberg writes: > Hi devs, > > I've frequently wanted to attach a summary note to a review, > unattached to any line of code. I thought this was impossible, but I > see how to do it now. > > After making your review, with perhaps many line comments, go back to > the Overview pane.

RE: how does a CAF become unreachable?

2021-10-12 Thread Simon Peyton Jones via ghc-devs
| Can anyone show an example? Sure xs = [1..1000] :: [Int] ys = [2..2000] :: [Float] main = do { print xs; print ys } After printing xs, the CAF for xs is unreachable and can be GC'd. No point in keeping it around. Indeed this applies from the moment (print xs)

how does a CAF become unreachable?

2021-10-12 Thread Norman Ramsey
I spent the afternoon spelunking through some code and the Commentary, and I'm wondering how a CAF becomes unreachable. I gather it might have to do with GHC floating a static expression out of a context until it becomes a CAF, but I'm still not seeing how a CAF could at one point be reachable,

GitLab summary note on review

2021-10-12 Thread Richard Eisenberg
Hi devs, I've frequently wanted to attach a summary note to a review, unattached to any line of code. I thought this was impossible, but I see how to do it now. After making your review, with perhaps many line comments, go back to the Overview pane. Then, you can write a comment at the bottom,

Re: where to go for HLS details?

2021-10-12 Thread Zubin Duggal
Can you recommend an IRC client? I tried using the web-based client, got limited response, and then the client destroyed all history. I hear Matrix is a reasonable way to have a persistent connection these days. I applied the patch, removed _build/docs, and rebuilt the documentation via

Re: where to go for HLS details?

2021-10-12 Thread Ben Gamari
Norman Ramsey writes: > > In general #haskell-language-server on libera is a good place to > > ask these questions. > > Can you recommend an IRC client? I tried using the web-based client, > got limited response, and then the client destroyed all history. > I also use Hexchat although I have

Re: where to go for HLS details?

2021-10-12 Thread Brandon Allbery
For what it's worth, I use hexchat. You may prefer to use IRC via matrix, though. On Tue, Oct 12, 2021 at 2:22 PM Norman Ramsey wrote: > > In general #haskell-language-server on libera is a good place to > > ask these questions. > > Can you recommend an IRC client? I tried using the

Re: where to go for HLS details?

2021-10-12 Thread Norman Ramsey
> In general #haskell-language-server on libera is a good place to > ask these questions. Can you recommend an IRC client? I tried using the web-based client, got limited response, and then the client destroyed all history. > > - When a project is compiled against a Stage 1 `base`

Re: where to go for HLS details?

2021-10-12 Thread Zubin Duggal
In general #haskell-language-server on libera is a good place to ask these questions. - When a project is compiled against a Stage 1 `base` library (as opposed to the one shipped with the bootstrap compiler), I am not always getting the documentation I expect. Are you getting any

where to go for HLS details?

2021-10-12 Thread Norman Ramsey
Where is the place to go to talk details of the Haskell Language Server? I'm using the HLS with the GHC I have compiled from HEAD, and I am sitting on a number of difficulties: - When a project is compiled against a Stage 1 `base` library (as opposed to the one shipped with the bootstrap

To allow deriving poly-kinded Generic1 instances

2021-10-12 Thread Fumiaki Kinoshita
I was hacking GHC to see if it's able to derive Generic1 instance for datatypes with kind (Type -> Type) -> Type by omitting some checks. I noticed that the type parameter is substituted by GHC.Types.Any, preventing higher-kinded instances from typechecking. I found a comment implying that this is

Re: help validating a modified compiler?

2021-10-12 Thread Andreas Klebinger
I tried it myself and validate fails locally as well. I've created a ticket here: https://gitlab.haskell.org/ghc/ghc/-/issues/20506 Am 11/10/2021 um 22:27 schrieb Norman Ramsey: > Speaking for myself: I have not validated locally for quite a while. I just > rely on CI. I've confirmed that