From ben at well-typed.com Sun Aug 7 21:29:03 2022 From: ben at well-typed.com (Ben Gamari) Date: Sun, 07 Aug 2022 17:29:03 -0400 Subject: [ANNOUNCE] GHC 9.4.1 is now available Message-ID: <87v8r3wxo8.fsf@smart-cactus.org> The GHC developers are very pleased to announce the availability of GHC 9.4.1. Binary distributions, source distributions, and documentation are available at downloads.haskell.org: https://downloads.haskell.org/ghc/9.4.1 This release includes: - A new profiling mode, `-fprof-late`, which adds automatic cost-center annotations to all top-level functions *after* Core optimisation has run. This provides informative profiles while interfering significantly less with GHC's aggressive optimisations, making it easier to understand the performance of programs which depend upon simplification.. - A variety of plugin improvements including the introduction of a new plugin type, *defaulting plugins*, and the ability for typechecking plugins to rewrite type-families. - An improved constructed product result analysis, allowing unboxing of nested structures, and a new boxity analysis, leading to less reboxing. - Introduction of a tag-check elision optimisation, bringing significant performance improvements in strict programs. - Generalisation of a variety of primitive types to be levity polymorphic. Consequently, the `ArrayArray#` type can at long last be retired, replaced by standard `Array#`. - Introduction of the `\cases` syntax from [GHC proposal 0302]. - A complete overhaul of GHC's Windows support. This includes a migration to a fully Clang-based C toolchain, a deep refactoring of the linker, and many fixes in WinIO. - Support for multiple home packages, significantly improving support in IDEs and other tools for multi-package projects. - A refactoring of GHC's error message infrastructure, allowing GHC to provide diagnostic information to downstream consumers as structured data, greatly easing IDE support. - Significant compile-time improvements to runtime and memory consumption. - On overhaul of our packaging infrastructure, allowing full traceability of release artifacts and more reliable binary distributions. - Reintroduction of deep subsumption (which was previously dropped with the *simplified subsumption* change) as a language extension. - ... and much more. See the [release notes] for a full accounting. Note that, as 9.4.1 is the first release for which the released artifacts will all be generated by our Hadrian build system, it is possible that there will be packaging issues. If you enounter trouble while using a binary distribution, please open a [ticket]. Likewise, if you are a downstream packager, do consider migrating to [Hadrian] to run your build; the Hadrian build system can be built using `cabal-install`, `stack`, or the in-tree [bootstrap script]. See the accompanying [blog post] for details on migrating packaging to Hadrian. We would like to thank Microsoft Azure, GitHub, IOG, the Zw3rk stake pool, Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, Haskell Foundation, and other anonymous contributors whose on-going financial and in-kind support has facilitated GHC maintenance and release management over the years. Finally, this release would not have been possible without the hundreds of open-source contributors whose work comprise this release. As always, do give this release a try and open a [ticket] if you see anything amiss. Happy testing, - Ben [GHC proposal 0302]: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0302-cases.rst [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new [bootstrap script]: https://gitlab.haskell.org/ghc/ghc/-/blob/e2520df3fffa0cf22fb19c5fb872832d11c07d35/hadrian/bootstrap/README.md [Hadrian]: https://gitlab.haskell.org/ghc/ghc/-/blob/e2520df3fffa0cf22fb19c5fb872832d11c07d35/hadrian [release notes]: https://downloads.haskell.org/~ghc/9.4.1/docs/users_guide/9.4.1-notes.html [blog post]: https://www.haskell.org/ghc/blog/20220805-make-to-hadrian.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: From ben at well-typed.com Mon Aug 8 13:41:48 2022 From: ben at well-typed.com (Ben Gamari) Date: Mon, 08 Aug 2022 09:41:48 -0400 Subject: [Haskell-cafe] [ANNOUNCE] GHC 9.4.1 is now available In-Reply-To: <9408ff89-2e27-4344-be77-c52e40d4bd99@Canary> References: <9408ff89-2e27-4344-be77-c52e40d4bd99@Canary> Message-ID: <87o7wux38f.fsf@smart-cactus.org> Bruno Damour writes: > Hello, > Thanks for this new release ! > Do you plan to add FreeBSD binaries ? Yes, I have recently been working on the FreeBSD CI infrastructure [1] and hope to have this finished in time for 9.4.2. Cheers, - Ben [1] https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6318 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: From george.colpitts at gmail.com Tue Aug 9 20:32:58 2022 From: george.colpitts at gmail.com (George Colpitts) Date: Tue, 9 Aug 2022 17:32:58 -0300 Subject: ghc doesn't work after installing 9.4.1 on my Mac Message-ID: Unfortunately ghc doesn't work after installing 9.4.1 on my Mac. Does it work for others? After the install finishes when I do the following: $ ghc --version bash: /usr/local/bin/ghc: Permission denied $ sudo chmod +x /usr/local/bin/ghc $ghc --version /usr/local/bin/ghc: line 1: exec: : not found $ cat /usr/local/bin/ghc exec "$executablename" -B"$libdir" ${1+"$@"} $ cat /usr/local/bin/ghc-9.4.1 #!/bin/sh exedir="/usr/local/lib/ghc-9.4.1/bin" exeprog="ghc-9.4.1" executablename="/usr/local/lib/ghc-9.4.1/bin/ghc-9.4.1" bindir="/usr/local/bin" libdir="/usr/local/lib/ghc-9.4.1/lib" docdir="/usr/local/share/doc/ghc-9.4.1" includedir="/usr/local/include" exec "$executablename" -B"$libdir" ${1+"$@"} Thanks George On Sun, Aug 7, 2022 at 6:30 PM Ben Gamari wrote: > The GHC developers are very pleased to announce the availability of GHC > 9.4.1. Binary distributions, source distributions, and documentation are > available at downloads.haskell.org: > > https://downloads.haskell.org/ghc/9.4.1 > > This release includes: > > - A new profiling mode, `-fprof-late`, which adds automatic cost-center > annotations to all top-level functions *after* Core optimisation has > run. This provides informative profiles while interfering > significantly less with GHC's aggressive optimisations, making it > easier to understand the performance of programs which depend upon > simplification.. > > - A variety of plugin improvements including the introduction of a new > plugin type, *defaulting plugins*, and the ability for typechecking > plugins to rewrite type-families. > > - An improved constructed product result analysis, allowing unboxing of > nested structures, and a new boxity analysis, leading to less reboxing. > > - Introduction of a tag-check elision optimisation, bringing > significant performance improvements in strict programs. > > - Generalisation of a variety of primitive types to be levity > polymorphic. Consequently, the `ArrayArray#` type can at long last be > retired, replaced by standard `Array#`. > > - Introduction of the `\cases` syntax from [GHC proposal 0302]. > > - A complete overhaul of GHC's Windows support. This includes a > migration to a fully Clang-based C toolchain, a deep refactoring of > the linker, and many fixes in WinIO. > > - Support for multiple home packages, significantly improving support > in IDEs and other tools for multi-package projects. > > - A refactoring of GHC's error message infrastructure, allowing GHC to > provide diagnostic information to downstream consumers as structured > data, greatly easing IDE support. > > - Significant compile-time improvements to runtime and memory consumption. > > - On overhaul of our packaging infrastructure, allowing full > traceability of release artifacts and more reliable binary > distributions. > > - Reintroduction of deep subsumption (which was previously dropped with > the > *simplified subsumption* change) as a language extension. > > - ... and much more. See the [release notes] for a full accounting. > > Note that, as 9.4.1 is the first release for which the released artifacts > will > all be generated by our Hadrian build system, it is possible that there > will be > packaging issues. If you enounter trouble while using a binary > distribution, > please open a [ticket]. Likewise, if you are a downstream packager, do > consider > migrating to [Hadrian] to run your build; the Hadrian build system can be > built > using `cabal-install`, `stack`, or the in-tree [bootstrap script]. See the > accompanying > [blog post] for details on migrating packaging to Hadrian. > > We would like to thank Microsoft Azure, GitHub, IOG, the Zw3rk stake pool, > Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, Haskell Foundation, and > other anonymous contributors whose on-going financial and in-kind support > has > facilitated GHC maintenance and release management over the years. Finally, > this release would not have been possible without the hundreds of > open-source > contributors whose work comprise this release. > > As always, do give this release a try and open a [ticket] if you see > anything amiss. > > Happy testing, > > - Ben > > > [GHC proposal 0302]: > https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0302-cases.rst > [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new > [bootstrap script]: > https://gitlab.haskell.org/ghc/ghc/-/blob/e2520df3fffa0cf22fb19c5fb872832d11c07d35/hadrian/bootstrap/README.md > [Hadrian]: > https://gitlab.haskell.org/ghc/ghc/-/blob/e2520df3fffa0cf22fb19c5fb872832d11c07d35/hadrian > [release notes]: > https://downloads.haskell.org/~ghc/9.4.1/docs/users_guide/9.4.1-notes.html > [blog post]: > https://www.haskell.org/ghc/blog/20220805-make-to-hadrian.html > _______________________________________________ > 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: From ben at well-typed.com Tue Aug 9 22:44:49 2022 From: ben at well-typed.com (Ben Gamari) Date: Tue, 09 Aug 2022 18:44:49 -0400 Subject: [ANNOUNCE] GHC 9.4.1 is now available In-Reply-To: <87v8r3wxo8.fsf@smart-cactus.org> References: <87v8r3wxo8.fsf@smart-cactus.org> Message-ID: <87edxpvxyr.fsf@smart-cactus.org> Ben Gamari writes: > The GHC developers are very pleased to announce the availability of GHC > 9.4.1. Binary distributions, source distributions, and documentation are > available at downloads.haskell.org: > > https://downloads.haskell.org/ghc/9.4.1 > Hi all, Due to an unfortunate packaging issue, the macOS binary distributions for 9.4.1 are not usable as uploaded. The problem is described in #21974, which also includes a small patch to mitigate the breakage. We will be releasing a 9.4.2 within the week fixing the issue. Cheers, - Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: From anthony.d.clayden at gmail.com Mon Aug 15 00:14:28 2022 From: anthony.d.clayden at gmail.com (Anthony Clayden) Date: Mon, 15 Aug 2022 12:14:28 +1200 Subject: [ANNOUNCE] GHC 9.4.1 is now available Message-ID: Thanks Ben, there's a couple of broken links on the Downloads page, going via the haskell.org/ghc 'GHC 9.4.1 Released!' link, rather than the link below in your message: * Release Notes * Documentation The urls seem to be using a different directory structure, ==> 404. (Also the link in your message is to the binaries, not the distribution packages.) AntC > The GHC developers are very pleased to announce the availability of GHC > 9.4.1. Binary distributions, source distributions, and documentation are > available at downloads.haskell.org: > > https://downloads.haskell.org/ghc/9.4.1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From juhpetersen at gmail.com Sun Aug 21 07:14:16 2022 From: juhpetersen at gmail.com (Jens Petersen) Date: Sun, 21 Aug 2022 15:14:16 +0800 Subject: [ANNOUNCE] GHC 9.4.1 is now available In-Reply-To: <87v8r3wxo8.fsf@smart-cactus.org> References: <87v8r3wxo8.fsf@smart-cactus.org> Message-ID: On Mon, 8 Aug 2022 at 05:30, Ben Gamari wrote: > The GHC developers are very pleased to announce the availability of GHC > 9.4.1. > Thank you for the new major version release. I have built it for all current Fedora releases and EPEL9 in the ghc9.4 package. For those interested you can check and review the packaging here: https://src.fedoraproject.org/rpms/ghc9.4/tree/rawhide Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: From juhpetersen at gmail.com Sun Aug 21 07:25:43 2022 From: juhpetersen at gmail.com (Jens Petersen) Date: Sun, 21 Aug 2022 15:25:43 +0800 Subject: [Haskell] [ANNOUNCE] GHC 9.2.4 released In-Reply-To: <20220728111713.owpnsu43zwq2klhn@zubin-msi> References: <20220728111713.owpnsu43zwq2klhn@zubin-msi> Message-ID: Late follow-up on Fedora... On Thu, 28 Jul 2022 at 19:17, Zubin Duggal wrote: > The GHC developers are very happy to at announce the availability of GHC > 9.2.4. > That was great news, thank you. I just wanted to share that the Fedora Linux ghc9.2 packages have been updated to 9.2.4 (and have already been stable for F36+ for a while now). See https://src.fedoraproject.org/rpms/ghc9.2/ for more details, including the packaging. Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at well-typed.com Mon Aug 22 18:55:05 2022 From: ben at well-typed.com (Ben Gamari) Date: Mon, 22 Aug 2022 14:55:05 -0400 Subject: [ANNOUNCE] GHC 9.4.2 is now available Message-ID: <87lergun0v.fsf@smart-cactus.org> The GHC developers are happy to announce the availability of GHC 9.4.2. Binary distributions, source distributions, and documentation are available at downloads.haskell.org: https://downloads.haskell.org/ghc/9.4.2 This release is primarily a bugfix release addressing a few packaging issues found in 9.4.1. See the [release notes] for a full accounting. Note that, as GHC 9.4 is the first release series where the release artifacts are all generated by our new Hadrian build system, it is possible that there will be packaging issues. If you enounter trouble while using a binary distribution, please open a [ticket]. Likewise, if you are a downstream packager, do consider migrating to [Hadrian] to run your build; the Hadrian build system can be built using `cabal-install`, `stack`, or the in-tree [bootstrap script]. See the accompanying [blog post] for details on migrating packaging to Hadrian. We would also like to emphasize that GHC 9.4 must be used in conjunction with Cabal-3.8 or later. This is particularly important for Windows users due to changes in GHC's Windows toolchain. We would like to thank Microsoft Azure, GitHub, IOG, the Zw3rk stake pool, Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, Haskell Foundation, and other anonymous contributors whose on-going financial and in-kind support has facilitated GHC maintenance and release management over the years. Finally, this release would not have been possible without the hundreds of open-source contributors whose work comprise this release. As always, do give this release a try and open a [ticket] if you see anything amiss. Happy Haskelling, - Ben [ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new [bootstrap script]: https://gitlab.haskell.org/ghc/ghc/-/blob/e2520df3fffa0cf22fb19c5fb872832d11c07d35/hadrian/bootstrap/README.md [Hadrian]: https://gitlab.haskell.org/ghc/ghc/-/blob/e2520df3fffa0cf22fb19c5fb872832d11c07d35/hadrian [release notes]: https://downloads.haskell.org/~ghc/9.4.2/docs/users_guide/9.4.2-notes.html [blog post]: https://www.haskell.org/ghc/blog/20220805-make-to-hadrian.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 487 bytes Desc: not available URL: From mail at joachim-breitner.de Tue Aug 30 06:30:34 2022 From: mail at joachim-breitner.de (Joachim Breitner) Date: Tue, 30 Aug 2022 08:30:34 +0200 Subject: GHC Proposals session at Haskell Symposium at ICFP Message-ID: <6c8dc251226301ec423fcca18650f5ce3e4b0954.camel@joachim-breitner.de> Dear friends of GHC, this year’s Haskell Symposium will host a special “GHC Proposals session” where current, future and past GHC Proposals can be presented and discussed: https://icfp22.sigplan.org/home/haskellsymp-2022#GHC-Proposals-Session I invite all GHC Proposal authors (or otherwise interested party) who are in Ljubljana to present your ideas and plans; just e-mail me if you want a slot. I also invite everyone else – users, developers, educators – to join the session for the discussions of these proposals. Your chance to get your voice heard, and not just your writing on GitHub! Cheers, Joachim -- Joachim Breitner mail at joachim-breitner.de http://www.joachim-breitner.de/ From juhpetersen at gmail.com Tue Aug 30 08:05:18 2022 From: juhpetersen at gmail.com (Jens Petersen) Date: Tue, 30 Aug 2022 16:05:18 +0800 Subject: [ANNOUNCE] GHC 9.4.2 is now available In-Reply-To: <87lergun0v.fsf@smart-cactus.org> References: <87lergun0v.fsf@smart-cactus.org> Message-ID: On Tue, 23 Aug 2022 at 02:56, Ben Gamari wrote: > The GHC developers are happy to announce the availability of GHC 9.4.2. > Thanks! I have built it for Fedora Linux and EPEL 9, where it can be installed now from the testing repos, eg: $ sudo dnf install --enablerepo=updates-testing ghc9.4 See https://src.fedoraproject.org/rpms/ghc9.4/ for more details, including the spec file that supports both Hadrian and Make. Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: