RE: Exact Print Annotations : Anchor in a SrcSpan

2021-10-29 Thread Simon Peyton Jones via ghc-devs
Alan I'm way behind with this exact-print stuff and Anchors in particular. If you and your co-workers on it are confident you know what to do, that's great - although as ever, please document the design carefully. (I volunteer as a reader of such a design overview. I know that a current

[ANNOUNCE] GHC 9.2.1 now available

2021-10-29 Thread Ben Gamari
Hi all, The GHC developers are very happy to at long last announce the availability of GHC 9.2.1. Binary distributions, source distributions, and documentation are available at https://downloads.haskell.org/ghc/9.2.1 GHC 9.2 brings a number of exciting features including: * A native code

Re: Exact Print Annotations : Anchor in a SrcSpan

2021-10-29 Thread Alan & Kim Zimmerman
I agree on not re-using accidentally available structures. But it got me thinking that maybe the BufSpan could be something else. I’m somewhat confused by the fact that we agreed to do it post-merge, but > all further work has been in some other direction. > > My work since the merge has been on

Re: [ANNOUNCE] GHC 9.2.1 now available

2021-10-29 Thread George Colpitts
Great news! Install works on mac os if you do xattr -rc . before doing make install The mail didn't mention that nor is it mentioned in the INSTALL file. I thought this had been fixed. I guess I'm mistaken or this is only an issue for me. Thanks again for getting this out! There's a lot of

Re: Exact Print Annotations : Anchor in a SrcSpan

2021-10-29 Thread Richard Eisenberg
I don't remember the details precisely, but I do know that the BufSpan was added to allow for reliable comparisons of SrcSpans in the presence of #line pragams. I've included Vlad, who is the resident expert on this aspect of locations. My instinct is to lean against repurposing the existing

Re: 8-bit and 16-bit arithmetic

2021-10-29 Thread Norman Ramsey
> Norman Ramsey writes: > > > On x86, GHC can translate 8-bit and 16-bit operations directly > > into the 8-bit and 16-bit machine instructions that the hardware > > supports. But there are other platforms on which the smallest > > unit of arithmetic may be 32 or even 64 bits. Is there a