[ANNOUNCE] GHC 9.8.3 is now available

2024-10-20 Thread Ben Gamari

The GHC developers are happy to announce the availability of GHC 9.8.3. Binary
distributions, source distributions, and documentation are available on the
[release] page.

This release is primarily a bugfix release the 9.8 series. These
include:

* Significantly improve performance of code loading via dynamic linking (#23415)
* Fix a variety of miscompilations involving sub-word-size FFI arguments
  (#25018, #24314)
* Fix a rare miscompilation by the x86 native code generator (#24507)
* Improve runtime performance of some applications of `runRW#` (#25055)
* Reduce fragmentation when using the non-moving garbage collector (#23340)
* Fix source links in Haddock's hyperlinked sources output (#24086)

A full accounting of changes can be found in the [release notes]. As
some of the fixed issues do affect correctness users are encouraged to
upgrade promptly.

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 compiling!

- Ben


[release]: https://www.haskell.org/ghc/download_ghc_9_8_3.html
[ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new
[release notes]: 
https://downloads.haskell.org/~ghc/9.8.3/docs/users_guide/9.8.3-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GHC 9.8.3 plans

2024-09-30 Thread Ben Gamari

Hi all,

I am currently in the process of preparing our next release in the 9.8
series, 9.8.3.  This release will include well over 70 backports. As I
am a bit less than half-way through the backport process I have currently
scheduled the release date for Wednesday 16 October 2024.

I have included a list of currently-planned backports below (however it
is possible that some of those in the to-do section may be dropped due
to feasibility). If you know of anything else which you suspect should
be backported do let me know on this thread and by applying the
usual ~"backport needed:9.8" label.

Cheers,

- Ben


# Already backported

 * [x] !12748: rts: fix checkClosure error message 
 * [x] !12734: Various rts fixes for issues spotted by 
UndefinedBehaviorSanitizer 
 * [x] !13252: Bump submodule array to 0.5.8.0 
 * [x] !13240: Bump submodule deepseq to 1.5.1.0 
 * [x] !13306: ci: Fix variable inheritence for ghcup-metadata testing job 
 * [x] !13276: Fix interaction between fork and kqueue (#24672) 
 * [x] !13151: JS: support rubbish static literals (#25177) 
 * [x] !13113: AARCH64 linker: skip NONE relocations 
 * [x] !13096: Cmm: don't perform unsound optimizations on 32-bit compiler 
hosts (#24893 #24700) 
 * [x] !13091: GHCi debugger: drop record name spaces for Ids 
 * [x] !13070: Only lookup ghcversion.h file in the RTS include-dirs by 
default. 
 * [x] !13038: Address #25055, by disabling case-of-runRW# in Gentle phase 
 * [x] !13010: Linker: Add windows R_X86_64_PC64 relocation support 
 * [x] !12990: Fix -freg-graphs for FP and AARch64 NCG (#24941). 
 * [x] !12885: PPC NCG: Fix sign hints in C calls 
 * [x] !12975: X86 NCG: Fix argument promotion in foreign C calls 
 * [x] !12914: Linker: use m32 allocator for sections when NEED_PLT (#24432) 
 * [x] !12784: compiler: emit NaturallyAligned when element type & index type 
are the same width 
 * [x] !12773: GHCi interpreter: Tag constructor closures when possible. 
 * [x] !12713: user_guide: Fix typo in MultiWayIf chapter 
 * [x] !12665: Add missing parenthesizePat in cvtp 
 * [x] !12655: Reverse arguments to stgCallocBytes (fix #24828) 
 * [x] !12574: doc: Fix type error in hs_try_putmvar example 
 * [x] !12558: Add test cases for #24664 
 * [x] !12484: compiler: Fingerprint -fwrite-if-simplified-core 
 * [x] !12463: JS: correctly handle RUBBISH literals (#24664) 
 * [x] !12459: Don't depend on registerPackage function in Cabal 
 * [x] !12432: Fix ghc API link in docs/index.html 

# To-do

 * [ ] !13237: Add `IsBootInterface` to finder cache keys 
 * [ ] !12756: WIP: GHC.Cmm.Opt: Fix overflow on 32bit hosts (error)
 * [ ] !12639: Bump os-string submodule to 2.0.2.2 
 * [ ] !12607: refactor quadratic search in warnMissingHomeModules 
 * [ ] !12603: Compatibility with 9.8.1 as boot compiler (error)
 * [ ] !12548: driver: always merge objects when possible 
 * [ ] !12514: Track in-scope variables in ruleCheckProgram 
 * [ ] !12500: GHCi: support cross-module inlining of breakpoints (#24712) 
 * [ ] !12416: Don't generate wrappers for `type data` constructors with 
StrictData 
 * [ ] !12370: NCG: Fix a bug where we errounously removed a required jump 
instruction. 
 * [ ] !12344: Fix off by one error in seekBinNoExpand and seekBin 
 * [ ] !12328: Improve the duplicate-tyvar check 
 * [ ] !12321: Fix type of _get_osfhandle foreign import 
 * [ ] !12313: driver: force merge objects when building dynamic objects 
 * [ ] !12308: JS: fix for h$appendToHsString (#24495) 
 * [ ] !12299: libffi-tarballs: bump libffi-tarballs submodule to libffi 3.4.6 
 * [ ] !12282: configure: Use LDFLAGS when trying linkers 
 * [ ] !12264: rts: Lookup symbols in relevant DLLs only (originally !11164) 
 * [ ] !12256: NCG: Fix a bug in jump shortcutting. 
 * [ ] !12227: rts: fix clang compilation on aarch64 
 * [ ] !12184: Use "module" instead of "library" when applicable in base 
haddocks 
 * [ ] !12177: Update correct counter in bumpTickyAllocd 
 * [ ] !12162: driver: Make `checkHomeUnitsClosed` faster 
 * [ ] !12161: Fix haddock source links and hyperlinked source 
 * [ ] !12158: x86-ncg: Fix fma codegen when arguments are globals. 
 * [ ] !12146: rts: avoid checking bdescr of value outside of Haskell heap 
 * [ ] !12122: Improve base library synopsis and description 
 * [ ] !12116: rel-eng/fetch-gitlab.py: Fix name of aarch64 alpine 3_18 release 
job 
 * [ ] !12042: rts: only collect live words in nonmoving census when 
non-concurrent 
 * [ ] !12016: Enhance documentation of Data.Complex 
 * [ ] !12011: Add @since annotation to Data.Data.mkConstrTag 
 * [ ] !11989: Fix ffi callbacks with >6 args and non-64bit args. 
 * [ ] !11938: Escape multiple arguments in the settings file 
 * [ ] !11575: configure: Do not override existing linker flags in 
FP_LD_NO_FIXUP_CHAINS 
 * [ ] !11548: Update the unification count in wrapUnifierX 
 * [ ] !11541: Compability with 9.8.1 as boot compiler (error)
 * [ ] !11384: hadrian: Move hsc2hs wrapper generation to bindist installation 
 * [ ] !

[ANNOUNCE] GHC 9.8.1 is now available

2023-10-09 Thread Ben Gamari

The GHC developers are very pleased to announce the availability of the
final release of GHC 9.8.1. Binary distributions, source
distributions, and documentation are available at downloads.haskell.org:

https://downloads.haskell.org/ghc/9.8.1

GHC 9.8 brings a number of new features and improvements, including:

 * Preliminary support the `TypeAbstractions` language extension,
   allowing types to be bound in type declarations [TypeAbstractions].

 * Support for the `ExtendedLiterals` extension, providing syntax for
   non-word-sized numeric literals in the surface language
   [extended-literals]

 * Improved rewrite rule matching behavior, allowing limited matching of
   higher-order patterns

 * Better support for user-defined warnings by way of the `WARNING`
   pragma [warnings]

 * The introduction of the new `GHC.TypeError.Unsatisfiable`
   constraint, allowing more predictable user-defined type errors
   [unsatisfiable]

 * Implementation of the export deprecation proposal, allowing module
   exports to be marked with `DEPRECATE` pragmas [deprecated-exports]

 * The addition of build semaphore support for parallel compilation;
   with coming support in `cabal-install` this will allow better use of
   parallelism in multi-package builds [jsem]

 * More efficient representation of info table provenance information,
   reducing binary sizes by over 50% in some cases when
   `-finfo-table-map` is in use

A full accounting of changes can be found in the [release notes][].
Plans for GHC's future releases can be found on the [GHC Wiki][status].

We would like to thank GitHub, IOG, the Zw3rk stake pool,
Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the 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.

Happy compiling,

~ Ben


[TypeAbstractions]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0425-decl-invis-binders.rst
[extended-literals]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0451-sized-literals.rst
[unsatisfiable]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0433-unsatisfiable.rst
[warnings]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0541-warning-pragmas-with-categories.rst
[deprecated-exports]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0134-deprecating-exports-proposal.rst
[jsem]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0540-jsem.rst
[release notes]: 
https://downloads.haskell.org/ghc/9.8.1/docs/users_guide/9.8.1-notes.html
[status]: https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-status


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Migrating GHC's real-time communications to Matrix? (#24010)

2023-10-02 Thread Ben Gamari
Hello all,

GHC's user and contributor documentation currently directs users to
#ghc on irc.libera.chat for discussion of GHC development. However,
for a variety of reasons the center-of-mass of discussion has been
gradually shifting towards Matrix (#GHC:matrix.org).

Given that Matrix appears to be both more active and more accessible to
newcomers, I suggest that we recognize this shift in our documentation.
If you agree or disagree with this proposal please leave a :thumbsup: or
:thumbsdown: on [#24010] and feel free to leave a comment explaining
your feelings.

Cheers,

- Ben


[#24010]: https://gitlab.haskell.org/ghc/ghc/-/issues/24010


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.8.1-rc1 is now available

2023-09-29 Thread Ben Gamari

The GHC developers are very pleased to announce the availability of the
release candidate of GHC 9.8.1. Binary distributions, source
distributions, and documentation are available at

https://downloads.haskell.org/ghc/9.8.1-rc1

GHC 9.8 will bring a number of new features and improvements, including:

 * Preliminary support the `TypeAbstractions` language extension,
   allowing types to be bound in type declarations [TypeAbstractions].

 * Support for the `ExtendedLiterals` extension, providing syntax for
   non-word-sized numeric literals in the surface language
   [extended-literals]

 * Improved rewrite rule matching behavior, allowing limited matching of
   higher-order patterns

 * Better support for user-defined warnings by way of the `WARNING`
   pragma [warnings]

 * The introduction of the new `GHC.TypeError.Unsatisfiable`
   constraint, allowing more predictable user-defined type errors
   [unsatisfiable]

 * Implementation of the export deprecation proposal, allowing module
   exports to be marked with `DEPRECATE` pragmas [deprecated-exports]

 * The addition of build semaphore support for parallel compilation;
   with coming support in `cabal-install` this will allow better use of
   parallelism in multi-package builds [jsem]

 * More efficient representation of info table provenance information,
   reducing binary sizes by over 50% in some cases when
   `-finfo-table-map` is in use

A full accounting of changes can be found in the [release notes].
This candidate includes roughly 20 new commits relative to alpha 4,
including what we believe should be nearly the last changes to GHC's
boot libraries. As always, GHC's release status can be found on the GHC
Wiki [status].

We would like to thank GitHub, IOG, the Zw3rk stake pool,
Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the 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 compiling,

~ Ben

[TypeAbstractions]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0425-decl-invis-binders.rst
[extended-literals]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0451-sized-literals.rst
[unsatisfiable]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0433-unsatisfiable.rst
[warnings]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0541-warning-pragmas-with-categories.rst
[deprecated-exports]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0134-deprecating-exports-proposal.rst
[jsem]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0540-jsem.rst
[release notes]: 
https://downloads.haskell.org/ghc/9.8.1-alpha4/docs/users_guide/9.8.1-notes.html
[status]: https://gitlab.haskell.org/ghc/ghc/-/wikis/GHC-status


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: GHC 9.8.1-rc1 delayed

2023-09-29 Thread Ben Gamari
Ben Gamari  writes:

> Hi all,
>
> Due to a rather late-breaking boot library mix-up I will need to delay
> the 9.8.1 release candidate by at least two days. I will provide a more
> specific timeline tomorrow when there is more clarity on what needs to
> happen to resolve the situation.
>
Hi all,

After yet another false-start it is looking like a release will likely
be feasible today. Do expect an announcement later within a few hours.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GHC 9.8.1-rc1 delayed

2023-09-27 Thread Ben Gamari
Hi all,

Due to a rather late-breaking boot library mix-up I will need to delay
the 9.8.1 release candidate by at least two days. I will provide a more
specific timeline tomorrow when there is more clarity on what needs to
happen to resolve the situation.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] [ANNOUNCE] GHC 9.8.1-alpha4 is now available

2023-09-22 Thread Ben Gamari
George Colpitts  writes:

> It seems unlikely that the current tests wouldn't find this bug. Is it the
> case that the tests are never run on aarch64-darwin Macs?
>
The tests are certainly run; see, for instance, the 9.8.1-alpha4 release
pipeline [1].

The problem is that #21570 requires very particular (mis)configuration
of the host toolchain (e.g. Richard had multiple, incompatible
toolchains in PATH). We can usually side-step this sort of
misconfiguration by disabling the `configure` script's ld-override
logic, since we using anything but Apple's linker is generally a bad
idea on Darwin. This measure (!8437) is present in the 9.8 branch so I can only
guess that something else is wrong.

Perhaps you could open a ticket and attach config.log?

Cheers,

- Ben


[1]: https://gitlab.haskell.org/ghc/ghc/-/jobs/1668689


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.8.1-alpha4 is now available

2023-09-19 Thread Ben Gamari

The GHC developers are very pleased to announce the availability of the
third alpha prerelease of GHC 9.8.1. Binary distributions, source
distributions, and documentation are available at

https://downloads.haskell.org/ghc/9.8.1-alpha4

GHC 9.8 will bring a number of new features and improvements, including:

 * Preliminary support the `TypeAbstractions` language extension,
   allowing types to be bound in type declarations [TypeAbstractions].

 * Support for the `ExtendedLiterals` extension, providing syntax for
   non-word-sized numeric literals in the surface language
   [extended-literals]

 * Improved rewrite rule matching behavior, allowing limited matching of
   higher-order patterns

 * Better support for user-defined warnings by way of the `WARNING`
   pragma [warnings]

 * The introduction of the new `GHC.TypeError.Unsatisfiable`
   constraint, allowing more predictable user-defined type errors
   [unsatisfiable]

 * Implementation of the export deprecation proposal, allowing module
   exports to be marked with `DEPRECATE` pragmas [deprecated-exports]

 * The addition of build semaphore support for parallel compilation;
   with coming support in `cabal-install` this will allow better use of
   parallelism in multi-package builds [jsem]

 * More efficient representation of info table provenance information,
   reducing binary sizes by over 50% in some cases when
   `-finfo-table-map` is in use

A full accounting of changes can be found in the [release notes].
This alpha includes roughly 40 new commits relative to alpha 3,
including what we believe should be nearly the last changes to GHC's
boot libraries.

We would like to thank GitHub, IOG, the Zw3rk stake pool,
Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the 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 compiling,

~ Ben

[TypeAbstractions]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0425-decl-invis-binders.rst
[extended-literals]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0451-sized-literals.rst
[unsatisfiable]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0433-unsatisfiable.rst
[warnings]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0541-warning-pragmas-with-categories.rst
[deprecated-exports]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0134-deprecating-exports-proposal.rst
[jsem]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0540-jsem.rst
[release notes]: 
https://downloads.haskell.org/ghc/9.8.1-alpha4/docs/users_guide/9.8.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.8.1-alpha3 is now available

2023-08-23 Thread Ben Gamari

The GHC developers are very pleased to announce the availability of the
third alpha prerelease of GHC 9.8.1. Binary distributions, source
distributions, and documentation are available at

   https://downloads.haskell.org/ghc/9.8.1-alpha3

GHC 9.8 will bring a number of new features and improvements, including:

 * Preliminary support the `TypeAbstractions` language extension,
   allowing types to be bound in type declarations [TypeAbstractions].

 * Support for the `ExtendedLiterals` extension, providing syntax for
   non-word-sized numeric literals in the surface language
   [extended-literals]

 * Improved rewrite rule matching behavior, allowing limited matching of
   higher-order patterns

 * Better support for user-defined warnings by way of the `WARNING`
   pragma [warnings]

 * The introduction of the new `GHC.TypeError.Unsatisfiable`
   constraint, allowing more predictable user-defined type errors
   [unsatisfiable]

 * Implementation of the export deprecation proposal, allowing module
   exports to be marked with `DEPRECATE` pragmas [deprecated-exports]

 * The addition of build semaphore support for parallel compilation;
   with coming support in `cabal-install` this will allow better use of
   parallelism in multi-package builds [jsem]

 * More efficient representation of info table provenance information,
   reducing binary sizes by over 50% in some cases when
   `-finfo-table-map` is in use

A full accounting of changes can be found in the [release notes].
This alpha includes roughly a dozen changes relative to alpha 2,
including what we believe should be nearly the last changes to GHC's
boot libraries.

We would like to thank GitHub, IOG, the Zw3rk stake pool,
Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the 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 compiling,

~ Ben


[TypeAbstractions]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0425-decl-invis-binders.rst
[extended-literals]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0451-sized-literals.rst
[unsatisfiable]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0433-unsatisfiable.rst
[warnings]:
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0541-warning-pragmas-with-categories.rst
[deprecated-exports]:
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0134-deprecating-exports-proposal.rst
[jsem]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0540-jsem.rst
[release notes]: 
https://downloads.haskell.org/ghc/9.8.1-alpha3/docs/users_guide/9.8.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] [ANNOUNCE] GHC 9.8.1-alpha2 is now available

2023-08-23 Thread Ben Gamari
Arnaud Spiwack  writes:

> 😱
> Thanks Sam and Noon! I'm obviously great at copy-pasting.
>
Regardless, thanks for bringing the mistake to my attention. It will be
fixed with the next alpha.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.8.1-alpha2 is now available

2023-08-10 Thread Ben Gamari

The GHC developers are very pleased to announce the availability of the
second alpha prerelease of GHC 9.8.1. Binary distributions, source
distributions, and documentation are available at

   https://downloads.haskell.org/ghc/9.8.1-alpha2

GHC 9.8 will bring a number of new features and improvements, including:

 * Preliminary support the `TypeApplications` language extension [type-binders],
   allowing types to be bound in type declarations.

 * Support for the `ExtendedLiterals` extension, providing syntax for
   non-word-sized numeric literals in the surface language
   [extended-literals]

 * Improved rewrite rule matching behavior, allowing limited matching of
   higher-order patterns

 * Better support for user-defined warnings by way of the `WARNING` pragma 
[warnings]

 * The introduction of the new `GHC.TypeError.Unsatisfiable`
   constraint, allowing more predictable user-defined type errors 
[unsatisfiable]

 * Implementation of the export deprecation proposal, allowing module
   exports to be marked with `DEPRECATE` pragmas [deprecated-exports]

 * The addition of build semaphore support for parallel compilation;
   with coming support in `cabal-install` this will allow better use of
   parallelism in multi-package builds [jsem]

 * More efficient representation of info table provenance information,
   reducing binary sizes by over 50% in some cases when
   `-finfo-table-map` is in use

A full accounting of changes can be found in the [release notes].
This alpha includes around two dozen bug-fixes relative to alpha 1.

We would like to thank GitHub, IOG, the Zw3rk stake pool,
Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the 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 compiling,

~ Ben


[type-binders]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0425-decl-invis-binders.rst
[extended-literals]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0451-sized-literals.rst
[unsatisfiable]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0433-unsatisfiable.rst
[warnings]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0541-warning-pragmas-with-categories.rst
[deprecated-exports]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0134-deprecating-exports-proposal.rst
[jsem]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0540-jsem.rst
[release notes]: 
https://downloads.haskell.org/ghc/9.8.1-alpha2/docs/users_guide/9.8.1-notes.html
[ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.4.6 is now available

2023-08-07 Thread Ben Gamari

The GHC developers are happy to announce the availability of GHC 9.4.6. Binary
distributions, source distributions, and documentation are available at

https://downloads.haskell.org/ghc/9.4.6

This release is primarily a bugfix release addressing some issues
found in 9.4.6. These include:

 * Many bug fixes for the simplifier, preventing compiler panics, loops and
   incorrect code generation (#22761, #22549, #23208, #22761, #22272, #23146,
   #23012, #22547).
 * Bug fixes for the typechecker involving newtype family instances, making
   type equalities more robust and bugs having to do with defaulting 
representation
   polymorphic type variables (#23329, #2, #23143, #23154, #23176).
 * Some bug fixes for code generation, particularly on the aarch64 backend,
   including adding more memory barriers for array read operations (#23541, 
#23749).
 * Some bug fixes for windows builds, ensuring the reliablility of IO manager 
shutdown
   and a bug fix for the RTS linker on windows (#23691, #22941).
 * A bug fix for the non-moving GC ensuring mutator allocations are properly
   accounted for (#23312).
 * A bug fix preventing some segfaults by ensuring that pinned allocations 
respect
   block size (#23400).
 * Many bug fixes for the bytecode interpreter, allowing a greater subset
   of the language to be interpreted (#22376, #22840, #22051, #21945, #23068, 
#22958).
 * ... and a few more. See the [release notes] for a full accounting.

As some of the fixed issues do affect correctness users are encouraged to
upgrade promptly.

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 compiling,

- Zubin & Ben


[ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new
[release notes]: 
https://downloads.haskell.org/~ghc/9.4.6/docs/users_guide/9.4.6-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.8.1-alpha1 is now available

2023-07-28 Thread Ben Gamari
The GHC developers are very pleased to announce the availability of the
first alpha prerelease of GHC 9.8.1. Binary distributions, source
distributions, and documentation are available at

   https://downloads.haskell.org/ghc/9.8.1-alpha1

GHC 9.8 will bring a number of new features and improvements, including:

 * Preliminary support the `TypeApplications` language extension [type-binders],
   allowing types to be bound in type declarations.

 * Support for the `ExtendedLiterals` extension, providing syntax for
   non-word-sized numeric literals in the surface language
   [extended-literals]

 * Improved rewrite rule matching behavior, allowing limited matching of
   higher-order patterns

 * Better support for user-defined warnings by way of the `WARNING` pragma 
[warnings]

 * The introduction of the new `GHC.TypeError.Unsatisfiable`
   constraint, allowing more predictable user-defined type errors 
[unsatisfiable]

 * Implementation of the export deprecation proposal, allowing module
   exports to be marked with `DEPRECATE` pragmas [deprecated-exports]

 * The addition of build semaphore support for parallel compilation;
   with coming support in `cabal-install` this will allow better use of
   parallelism in multi-package builds [jsem]

 * More efficient representation of info table provenance information,
   reducing binary sizes by over 50% in some cases when
   `-finfo-table-map` is in use

A full accounting of changes can be found in the [release notes].

We would like to thank GitHub, IOG, the Zw3rk stake pool,
Well-Typed, Tweag I/O, Serokell, Equinix, SimSpace, the 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 compiling,

~ Ben


[type-binders]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0425-decl-invis-binders.rst
[extended-literals]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0451-sized-literals.rst
[unsatisfiable]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0433-unsatisfiable.rst
[warnings]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0541-warning-pragmas-with-categories.rst
[deprecated-exports]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0134-deprecating-exports-proposal.rst
[jsem]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0540-jsem.rst
[release notes]: 
https://downloads.haskell.org/ghc/9.8.1-alpha1/docs/users_guide/9.8.1-notes.html
[ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.6.2 is now available

2023-05-23 Thread Ben Gamari

The GHC developers are happy to announce the availability of GHC 9.6.2. Binary
distributions, source distributions, and documentation are available at

   https://downloads.haskell.org/ghc/9.6.2

This release is primarily a bug-fix release addressing a few issues
found in 9.6.2. These include:

 * a number of simplifier and specialisation issues (#22761, #22549)

 * A bug resulting in crashes of programs using the new ``listThreads#`` primop
   (#23071).

 * A compiler crash triggered by certain uses of quantified constraints
   (#23171)

 * Various bugs in the Javascript backend have been fixed (#23399,
   #23360, #23346)

 * A missing write barrier in the non-moving collector's handling of selector
   thunks, resulting in undefined behavior (#22930).

 * The non-moving garbage collector's treatment of weak pointers has been
   revamped which should allow more reliable finalization of ``Weak#``
   closures (#22327)

 * The non-moving garbage collector now bounds the amount of marking it will
   do during the post-marking stop-the-world phase, greatly reducing tail
   latencies in some programs (#22929)

A full accounting of changes can be found in the [release notes]. As
some of the fixed issues do affect correctness users are encouraged to
upgrade promptly.

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 compiling,

~ Ben

[ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new
[release notes]: 
https://downloads.haskell.org/~ghc/9.6.2/docs/users_guide/9.6.2-notes.html
  


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: Installing GHC on my MacBook Air

2023-03-15 Thread Ben Gamari
George Colpitts  writes:

> Hi Bill
>
> I'm cc'ing GHC dev and GHC users as someone else may have a better answer,
> catch a mistake I made etc. Please don't delete them.
>
> I believe you have encountered
> https://gitlab.haskell.org/ghc/ghc/-/issues/21506#note_447206
>
> I believe the way to fix this is to do the following:
>
> rm -fr /usr/local/bin/ghc*
> rm -fr /usr/local/lib/ghc*
> ./configure
> sudo xattr -rc .
> sudo make install
>
>
> However I am unsure why you are encountering this as the issue is supposed
> to have been fixed.
>
It may be that the reason is either a GHC bug
(https://gitlab.haskell.org/ghc/ghc/-/issues/23009) or further changes
by Apple (https://gitlab.haskell.org/ghc/ghc/-/issues/23115)

Cheers,

- Ben



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.6.1 is now available

2023-03-11 Thread Ben Gamari

The GHC team is very pleased to announce the availability of GHC 9.6.1.
As usual, binaries and source distributions are available at
downloads.haskell.org:

https://downloads.haskell.org/ghc/9.6.1/

Beginning with GHC 9.6.1, GHC can be built as a cross-compiler to
WebAssembly and JavaScript. This is an important step towards robust
support for compiling Haskell to the Web, but there are a few caveats to be
aware of in the 9.6 series:

 - Both the Javascript and WebAssembly backends are still at an early
   stage of development and are present in this release as a technology preview

 - Using GHC as a cross-compiler is not as easy as we would like it to
   be; in particular, there are challenges related to Template Haskell

 - GHC is not yet run-time retargetable; a given GHC binary targets
   exactly one platform, and both WebAssembly and JavaScript are considered
   platforms for this purpose. Cross-compilers must be built from source by
   their users

We hope to lift all of these limitations in future releases.

Additionally, 9.6.1 includes:

 - Significant latency improvements in the non-moving garbage collector

 - Efficient runtime support for delimited continuations

 - Improvements in compiler error messages

 - Numerous improvements in the compiler's memory usage

See the [release notes] for a comprehensive accounting of changes in this
release.

As always, one can find a migration guide to aid in transitioning from older
releases on the [GHC Wiki][migration-guide]. We have also recently started
extending our release process to cover a wider set of Linux distributions. In
particular, we now offer Rocky 8 and Ubuntu 20.04 binary distributions which
cover RedHat-derivative and distributions using older glibc releases
(namely 2.27), respectively.

Thanks to everyone who has contributed code, documentation, testing, and
tickets to this release process. As this release represents upstream GHC's
first step towards supporting web targets, we are very excited to have this
release out the door!

Cheers,

- Ben


[ticket]: https://gitlab.haskell.org/ghc/ghc/issues/
[migration-guide]: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6
[release notes]: 
https://downloads.haskell.org/ghc/9.6.1/docs/users_guide/9.6.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.6.1-rc1 is now available

2023-03-03 Thread Ben Gamari
The GHC team is very pleased to announce the availability of the first
(and likely final) release candidate of GHC 9.6.1. As usual, binaries
and source distributions are available at
[downloads.haskell.org](https://downloads.haskell.org/ghc/9.6.1-rc1/).

Beginning with GHC 9.6.1, GHC can be built as a cross-compiler to
WebAssembly and JavaScript. This is an important step towards robust
support for compiling Haskell to the Web, but there are a few caveats to
be aware of in the 9.6 series:

 - Both the Javascript and WebAssembly backends are still at an early
   stage of development and are present in this release as a technology
   preview

 - Using GHC as a cross-compiler is not as easy as we would like it to
   be; in particular, there are challenges related to Template Haskell

 - GHC is not yet run-time retargetable; a given GHC binary targets
   exactly one platform, and both WebAssembly and JavaScript are
   considered platforms for this purpose. Cross-compilers must be built
   from source by their users

We hope to lift all of these limitations in future releases.

Additionally, 9.6.1 will include:

 - Significant latency improvements in the non-moving garbage collector

 - Efficient runtime support for delimited continuations

 - Improvements in compiler error messages

 - Numerous improvements in the compiler's memory usage

See the [release notes][] for a comprehensive accounting of changes in
this release.

As always, one can find a migration guide to aid in transitioning from
older releases on the [GHC Wiki][migration-guide]. We have also recently
started extending our release process to cover a wider set of Linux
distributions. In particular, we now offer Rocky 8 and Ubuntu 20.04
binary distributions which cover RedHat-derivative and distributions
using older `glibc` releases (namely 2.27), respectively.

Please do give this release a try and open a [ticket][] if you see
anything amiss. If all goes well we expect the final release should be
available by late next week.

Happy Haskelling,

~ Ben


[ticket]: https://gitlab.haskell.org/ghc/ghc/issues/
[migration-guide]: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6
[release notes]: 
https://downloads.haskell.org/ghc/9.6.1-rc1/docs/users_guide/9.6.1-notes.html



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 9.6.1-alpha3 is now available

2023-02-15 Thread Ben Gamari
George Colpitts  writes:

> Hi
>
> I get a strange warning on MacOS when I do ./configure:
>
> checking Xcode version... xcode-select: error: tool 'xcodebuild' requires
> Xcode, but active developer directory '/Library/Developer/CommandLineTools'
> is a command line tools instance
> not found (too old?)
>
>
> I also get a related strange warning when I do a compile:
>
> ghc hello.hs
> [1 of 2] Compiling Main ( hello.hs, hello.o ) [Missing object
> file]
> [2 of 2] Linking hello [Objects changed]
> ld: warning: directory not found for option
> '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib'
>
Hmm, that is indeed odd. It sounds like you Xcode installation may be
broken. Did you upgrade your operating system recently? Do you have
Xcode, the CLT package, or both installed?

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.6.1-alpha3 is now available

2023-02-14 Thread Ben Gamari

The GHC team is very pleased to announce the availability of GHC 9.6.1-alpha3.
As usual, binaries and source distributions are available at
downloads.haskell.org:

https://downloads.haskell.org/ghc/9.6.1-alpha3/

Beginning with GHC 9.6.1, GHC can be built as a cross-compiler to
WebAssembly and JavaScript. This is an important step towards robust
support for compiling Haskell to the Web, but there are a few caveats to
be aware of in the 9.6 series:

 - Both the Javascript and WebAssembly backends are still at an early
   stage of development and are present in this release as a technology preview

 - Using GHC as a cross-compiler is not as easy as we would like it to
   be; in particular, there are challenges related to Template Haskell

 - GHC is not yet run-time retargetable; a given GHC binary targets
   exactly one platform, and both WebAssembly and JavaScript are considered
   platforms for this purpose. Cross-compilers must be built from source by
   their users

We hope to lift all of these limitations in future releases.

Additionally, 9.6.1 will include:

 - Significant latency improvements in the non-moving garbage collector

 - Efficient runtime support for delimited continuations

 - Improvements in compiler error messages

 - Numerous improvements in the compiler's memory usage

See the [release notes] for a comprehensive accounting of changes in this
release.

As always, one can find a [migration guide] to aid in transitioning from older
releases on the GHC Wiki. We have also recently started extending our
release process to cover a wider set of Linux distributions. In
particular, we now offer Rocky 8 and Ubuntu 20.04 binary distributions
which cover RedHat-derivative and distributions using older `glibc`
releases (namely 2.27), respectively.

Please do give this release a try and open a [ticket] if you see anything
amiss.

Cheers,

- Ben


[ticket]: https://gitlab.haskell.org/ghc/ghc/issues/
[migration guide]: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6
[release notes]: 
https://downloads.haskell.org/ghc/9.6.1-alpha3/docs/users_guide/9.6.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.6.1-alpha2 is now available

2023-01-30 Thread Ben Gamari

The GHC team is very pleased to announce the availability of GHC
9.6.1-alpha2. As usual, binaries and source distributions are available
at downloads.haskell.org:

  https://downloads.haskell.org/ghc/9.6.1-alpha2/

Beginning with GHC 9.6.1, GHC can be built as a cross-compiler to
WebAssembly and JavaScript. This is an important step towards robust
support for compiling Haskell to the Web, but there are a few caveats to
be aware of in the 9.6 series:

 - Both the Javascript and WebAssembly backends are still at an early
   stage of development and are present in this release as a technology
   preview

 - Using GHC as a cross-compiler is not as easy as we would like it to
   be; in particular, there are challenges related to Template Haskell.

 - GHC is not yet run-time retargetable; a given GHC binary targets
   exactly one platform, and both WebAssembly and JavaScript are
   considered platforms for this purpose. Cross-compilers must be built
   from source by their users

We hope to lift all of these limitations in future releases.

Additionally, 9.6.1 will include:

 - Significant latency improvements in the non-moving garbage collector

 - Efficient runtime support for delimited continuations

 - Improvements in compiler error messages

 - Numerous improvements in the compiler's memory usage

See the [release notes] for a comprehensive accounting of changes in
this release.

As always, one can find a [migration guide] to aid in transitioning from
older releases on the GHC Wiki. We have also recently started extending
our release process to cover a wider set of Linux distributions. In
particular, we now offer Rocky 8 and Ubuntu 20.04 binary distributions
which cover RedHat-derivative and distributions using older `glibc`
releases (namely 2.27), respectively.

Please do give this release a try and open a [ticket] if you see
anything amiss.

Cheers,

- Ben


[ticket]: https://gitlab.haskell.org/ghc/ghc/issues/
[migration-guide]: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.6
[release notes]: 
https://downloads.haskell.org/ghc/9.6.1-alpha2/docs/users_guide/9.6.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 9.6.1-alpha1 is now available

2023-01-16 Thread Ben Gamari
George Colpitts  writes:

> Hi
>
> I believe llvm does not work in this alpha as 21936 is still open. Is that
> correct?
>
Indeed we do not yet support LLVM 15 but all previous LLVM versions
continue to work. We can try to fix this for the final release.


> I also believe that when it does work it will require llvm 15 which will be
> incompatible with earlier versions of ghc. Is that correct?
>
Early indications suggest that supporting LLVM 15 will require that we
raise the minimum supported version to LLVM 13.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.6.1-alpha1 is now available

2023-01-13 Thread Ben Gamari

The GHC team is very pleased to announce the availability of GHC
9.6.1-alpha1. As usual, binaries and source distributions are available
at downloads.haskell.org:

https://downloads.haskell.org/ghc/9.6.1-alpha1/

This is the first alpha release in the 9.6 series which will bring a
number of exciting features:

* A new Javascript code generation backend

* A new WebAssembly code generation backend,

* Significant latency improvements in the non-moving garbage collector

* Support for loading of multiple components in GHCi

* Efficient support for delimited continuations

* Improvements in error messages

* Numerous improvements in compiler-residency

Note that both the Javascript and WebAssembly backends are still in a
state of infancy and are present in this release as a technology
preview; we hope that they will mature considerably before the final
9.6.1 release.

Please give this release a try and open a [ticket] if you see anything
amiss.

Cheers,

- Ben


[ticket]: https://gitlab.haskell.org/ghc/ghc/issues/



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] [ANNOUNCE] GHC 9.4.4 is now available

2022-12-24 Thread Ben Gamari
David Feuer  writes:

> Does this release include the fix for #22549 (infinite loops for some
> undecidable instances)?
>
Yes, it includes a backport of !9485.

Cheers,

- Ben



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.4.4 is now available

2022-12-24 Thread Ben Gamari
The GHC developers are happy to announce the availability of GHC 9.4.4. Binary
distributions, source distributions, and documentation are available at
downloads.haskell.org [1].

This release is primarily a bugfix release. Bugs fixed include:

* An issue where the wrong labels were used in the eventlog for events emitted
  when using info table profiling which was broken in 9.4.3 (#22452)

* Fix a long standing bug where invalid eventlogs would be produced with long
  command-lines (#20221)

* Fix a regression in eta-expansion which resulted in serious performance
  regressions in 9.4.3 (#22424)

* Fix the `-fdefer-diagnostics` flag (#22391)

* Fixes to several subtle compiler panics
  (#22491, #22416, #22549, #22475, #22039)

* Add necessary write barriers to `IORef` operations, avoiding potential
  soundness issues on architectures with weakly-ordered memory models
  (#22468)

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


[1]: https://downloads.haskell.org/ghc/9.4.4
[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
[blog post]: https://www.haskell.org/ghc/blog/20220805-make-to-hadrian.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GitLab maintenance today

2022-11-07 Thread Ben Gamari
Hi all,

Today we will be doing some maintenance on gitlab.haskell.org to address
#22418. I can't yet say precisely when the outage will begin but I do
expect there to be one. I will try to provide at least 30 minutes
notice.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.4.3 is now available

2022-11-03 Thread Ben Gamari

The GHC developers are happy to announce the availability of GHC 9.4.3. Binary
distributions, source distributions, and documentation are available at
downloads.haskell.org:

https://downloads.haskell.org/ghc/9.4.3

This release is primarily a bugfix release addressing a few issues
found in 9.4.2. These include:

 * An issue where recursively calls could be speculatively evaluated, resulting
   in non-termination (#20836)
 * A code generation issue in the AArch64 native code generator backend 
   resulting in incorrect runtime results in some circumstances (#22282)
 * A crash on Darwin when running executables compiled with IPE support (#22080)
 * A long-standing interface-file determinism issue where full paths would leak
   into the interface file (#22162)
 * A bug in the `process` library where file handles specified as `NoStream` 
would
   still be usable in the child (process#251)

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
[blog post]: https://www.haskell.org/ghc/blog/20220805-make-to-hadrian.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.4.2 is now available

2022-08-22 Thread Ben Gamari

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


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 9.4.1 is now available

2022-08-09 Thread Ben Gamari
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


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] [ANNOUNCE] GHC 9.4.1 is now available

2022-08-08 Thread Ben Gamari
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


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.4.1 is now available

2022-08-07 Thread Ben Gamari
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


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 9.4.1-rc1 is now available

2022-07-24 Thread Ben Gamari
George Colpitts  writes:

> +Kazu Yamamoto 
>
> Hi Ben
>
> My 2 machines also have:
>
> $ spctl --status
> assessments enabled
>
Hmm, interesting. Then I am truly perplexed.

> Speculations:
>
> /usr/local/lib/ghc-9.4.0.20220721/bin/../lib/x86_64-osx-ghc-9.4.0.20220721/libHSterminfo-0.4.1.5-ghc9.4.0.20220721.dylib
> is created after xattr -rc . was run so it doesn't have the necessary
> attributes. Is it possible that ghc developers and/or the test machines
> have this file on another of the paths in the error message and that is why
> it works for them?
>
I'm not sure where this would be but at this point anything is possible. What 
happens
if you try to install to do something like (in the extracted binary 
distribution),

$ ./configure --prefix=`pwd`/tmp
$ make install# this will fail
$ xattr -rc .
$ make install# perhaps this will finish successfully?
# tmp/bin/ghc --version   # GHC should be usable

> I hope I didn't offend you by asking if the fix had been tested; I assume
> it had been but I thought it was important to rule that out.
>
Not to worry; it's a very reasonable question to ask given the circumstances.

> More than happy to test. I really appreciate all the work you and others
> have put into GHC !
>
Ultimately I think we may just need to bite the bullet and start
properly notarising/codesigning releases (resolving #17418). At this point we 
have
spent more time trying to avoid the notarisation requirement than
it would likely take to satisfy it. Unfortunately, this will require
that I find an Apple device somewhere which may take a few weeks.

I'm afraid I am on holiday next week but I would quite grateful if we
could arrange for a chat after I return such that we can debug this in
realtime.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 9.4.1-rc1 is now available

2022-07-23 Thread Ben Gamari
George Colpitts  writes:

> Hi Ben
>
> /ust/bin/xattr exists on my machine. Running "xattr -rc ." manually does
> not fix the bug as noted at the start of 21506. It was sufficient in the
> past but no longer fixes this error. As noted farther down in 21506
>
> the workaround given in #17418  no longer works.
> It did not work in 9.2.2 either. The current workaround is similar to what
> Kazu explained in
> https://twitter.com/kazu_yamamoto/status/1500643489985761282
>
> sudo xattr -rc .
>
> sudo spctl --global-disable
>
> ./configure
>
> sudo make install
>
> sudo spctl --global-enable
>
> It seems there are files created during sudo make install that have an
> issue as xattr -rc . was never run on them. Perhaps this is related to
> using Hadrian. Is it possible that the fix that was made was never tested?
>
I tested the change both manually and via CI on the hardware that I have
access to; in both cases installing the binary distribution resulted in
a functional compiler. However, given how the effects of SIP are
essentially undocumented, it is very hard to know what variables may be
at play here. Running spctl --status on the machine on which I tested
claims:

> spctl --status
objc[48908]: Class SPExecutionPolicy is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[48908]: Class AppWrapper is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[48908]: Class AppWrapperPolicyResult is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[48908]: Class AppWrapperPolicy is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[48908]: Class SPLog is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[48908]: Class MIS is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[48908]: Class SPExecutionHistoryItem is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[48908]: Class SPExecutionPolicyItem is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[48908]: Class SPDeveloperPolicy is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc[48908]: Class GKScanResult is implemented in both 
/System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy
 and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
assessments enabled

Which to me suggests that SIP (which, I imagine, is responsible for
#21506) is enabled. However, the lack of comprehensive documentation
here makes it very hard to say with certainty what might differ between
your machine and mine. Without more information I don't know how to
proceed here. Perhaps someone (Moritz or Simon, perhaps) with more
familiarity with macOS has some insight?

Thanks for your help in testing, George!

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 9.4.1-rc1 is now available

2022-07-22 Thread Ben Gamari
George Colpitts  writes:

> Hi Ben,
>
> I expected https://gitlab.haskell.org/ghc/ghc/-/issues/21506 (ghc-9.4.1-alpha1
> does not install on macos: ghc-pkg-9.4.0-20220501 cannot be opened because
> the developer cannot be verified) to be fixed in rc1 but it is not. Are my
> expectations wrong? What is the ETA for fixing it?
>
Thanks for letting us know, George. The fix that we have [1] is present
in 9.4.1-rc1. If that commit doesn't resolve the issue then there is
something that we don't understand. Does `/usr/bin/xattr` exist? Running
`xattr -rc` manually on the binary distribution allow you to run the
compiler?

Cheers,

- Ben


[1] 
https://gitlab.haskell.org/ghc/ghc/-/commit/641972d65b476aac11424bde6c3bcfda1c65aef5



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.4.1-rc1 is now available

2022-07-22 Thread Ben Gamari

The GHC developers are happy to announce the availability of the first
(and likely last) release candidate of GHC 9.4.1. Binary distributions, source
distributions, and documentation are available at [downloads.haskell.org].

This major release will include:

 - 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]. We will be
publishing a blog post describing the migration process to Hadrian in the
coming weeks.

We would like to thank Microsoft Azure, GitHub, IOG, the Zw3rk
stake pool, Tweag I/O, Serokell, Equinix, SimSpace, the 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

[downloads.haskell.org]: https://downloads.haskell.org/ghc/9.4.1-rc1/
[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-rc1/docs/users_guide/9.4.1-notes.html



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GHC 9.4.1-alpha3 now available

2022-06-24 Thread Ben Gamari

The GHC developers are happy to announce the availability of the third
alpha release of the GHC 9.4 series. Binary distributions, source
distributions, and documentation are available at 
[downloads.haskell.org](https://downloads.haskell.org/ghc/9.4.1-alpha3).

This major release will include:

 - A new profiling mode, `-fprof-late`, which adds automatic cost-center
   annotations to all top-level functions *after* Core optimisation has
   run. This incurs significantly less performance cost while still
   providing informative profiles.

 - 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.

 - ... 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's 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].

We would like to thank Microsoft Azure, GitHub, IOG, the Zw3rk
stake pool, Tweag I/O, Serokell, Equinix, SimSpace, 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-alpha3/docs/users_guide/9.4.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: Two-factor authentication enforced on gitlab.haskell.org

2022-06-08 Thread Ben Gamari
Ben Gamari  writes:

> Hi all,
>
> Due to a recent up-tick in spam activity, we have started enforcing
> two-factor authentication on gitlab.haskell.org. We hope that this isn't
> too much of a burden, but do let us know if so and we can evaluate other
> options.
>
Hi all,

Due to user response we have reverted the two-factor authentication
requirement and will instead manually review new account creations for
now. Do feel free to ping either Matt, Andreas, or I via IRC or email if
you attempt to create an account and your request sits unapproved for
more than an hour or two.

Hopefully in the near term we will be able to able to find less onerous
way of dealing with the growing spam problem.

Cheers,

- Ben



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Two-factor authentication enforced on gitlab.haskell.org

2022-06-08 Thread Ben Gamari
Hi all,

Due to a recent up-tick in spam activity, we have started enforcing
two-factor authentication on gitlab.haskell.org. We hope that this isn't
too much of a burden, but do let us know if so and we can evaluate other
options.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GHC.X.Hackage and GHC's release cycle

2022-05-27 Thread Ben Gamari

Hello all,

Recently in the Haskell Foundation's stability working group we have been
discussing various practical issues that Haskell users and prospective adopters
encounter around the ecosystem. During these discussions the topic of GHC's
release schedule and the ecosystem's process migration to new GHC releases has
come up repeatedly.

To address some of these issues, I have opened a pair of somewhat-related HF
Tech Proposals:

 * the GHC.X.Hackage proposal ([ghc.x.hackage]) seeks to extend the
   [head.hackage] infrastructure used to test GHC to enable use by
   library maintainers in porting and testing their libraries on new GHC
   releases.

 * the [tick-tock] release proposal seeks to provide better guidance to users
   needing long release lifecycles by designating every other release as a
   "long-term support" release, with 18-month backport window.

Given the wide applicability of these proposals we hope to gather feedback from
a broad swath of the community. If you have questions, opinions, or concerns on
either, please leave your feedback on the respective proposal. We look
forward to hearing from you.

Thanks!

 - Ben


[ghc.x.hackage]: https://github.com/haskellfoundation/tech-proposals/pull/27
[head.hackage]: https://ghc.gitlab.haskell.org/head.hackage/
[tick-tock]: https://github.com/haskellfoundation/tech-proposals/pull/34



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GHC 9.4.1-alpha2 now available

2022-05-24 Thread Ben Gamari
The GHC developers are happy to announce the availability of the second
alpha release of the GHC 9.4 series. Binary distributions, source
distributions, and documentation are available at downloads.haskell.org:

   https://downloads.haskell.org/ghc/9.4.1-alpha2

This major release will include:

 - A new profiling mode, `-fprof-late`, which adds automatic cost-center
   annotations to all top-level functions *after* Core optimisation has
   run. This incurs significantly less performance cost while still
   providing informative profiles.

 - 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.

 - ... 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 Hadrian, it's 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].

We would like to thank Microsoft Azure, GitHub, IOHK, the Zw3rk
stake pool, Tweag I/O, Serokell, Equinix, SimSpace, 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
[release notes]: 
https://downloads.haskell.org/~ghc/9.4.1-alpha2/docs/users_guide/9.4.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GHC 9.4.1-alpha1 now available

2022-05-01 Thread Ben Gamari

The GHC developers are happy to announce the availability of the first
alpha release of the GHC 9.4 series. Binary distributions, source
distributions, and documentation are available at downloads.haskell.org:

   https://downloads.haskell.org/ghc/9.4.1-alpha1

This major release will include:

 - A new profiling mode, `-fprof-late`, which adds automatic cost-center
   annotations to all top-level functions *after* Core optimisation has
   run. This incurs significantly less performance cost while still
   providing informative profiles.

 - 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.

 - ... and much more

We would like to thank Microsoft Azure, GitHub, IOHK, the Zw3rk
stake pool, Tweag I/O, Serokell, Equinix, SimSpace, 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


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: Haskell.org outage

2022-04-17 Thread Ben Gamari
Ben Gamari  writes:

> Hello everyone,
>
> Unfortunately Haskell.org, downloads.haskell.org, and hoogle.haskell.org
> are currently down. We are currently investigating the cause. Updates
> will be posted as they are available.
>
A quick update: It sounds as though the outage is due to a hardware
issue which our hosting provider is currently investigating but
naturally responses are a bit slower than usual due to the holiday. More
updates to follow tomorrow.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Haskell.org outage

2022-04-17 Thread Ben Gamari
Hello everyone,

Unfortunately Haskell.org, downloads.haskell.org, and hoogle.haskell.org
are currently down. We are currently investigating the cause. Updates
will be posted as they are available.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.2.2 is now available

2022-03-06 Thread Ben Gamari

Naturally, the subject line here should have read

GHC 9.2.2 is *now* available

Apologies for the confusion.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.2.2 is not available

2022-03-06 Thread Ben Gamari

The GHC developers are very happy to at announce the availability of GHC
9.2.2. Binary distributions, source distributions, and documentation are
available at downloads.haskell.org:

   https://downloads.haskell.org/ghc/9.2.2

This release includes many bug-fixes and other improvements to 9.2.1 including: 
   
 
 * A number of bug-fixes in the new AArch64 native code generator

 * Fixes ensuring that the `indexWord8ArrayAs*#` family of primops is handled   
 
   correctly on platforms lacking support for unaligned memory accesses
   (#21015, #20987).

 * Improvements to the compatibility story in GHC's migration to the
   XDG Base Directory Specification (#20684, #20669, #20660)

 * Restored compatibility with Windows 7

 * A new `-fcompact-unwind` flag, improving compatibility with C++ libraries on 
   
   Apple Darwin (#11829)

 * Introduction of a new flag, `-fcheck-prim-bounds`, enabling runtime bounds   
 
   checking of array primops (#20769)

 * Unboxing of unlifted types (#20663)

 * Numerous improvements in compiler performance.

 * Many, many others. See the [release notes] for a full list.

As some of the fixed issues do affect correctness users are encouraged to
upgrade promptly.

Finally, thank you to Microsoft Research, GitHub, IOHK, the Zw3rk stake
pool, Tweag I/O, Serokell, Equinix, SimSpace, and other anonymous
contributors whose on-going financial and in-kind support has
facilitated GHC maintenance and release management over the years.
Moreover, this release would not have been possible without the hundreds
of open-source contributors whose work comprise this release.

As always, do open a [ticket][] if you see anything amiss.

Happy compiling,

- Ben


[ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new
[release notes]: 
https://downloads.haskell.org/ghc/9.2.2/docs/html/users_guide/9.2.2-notes.html  
  


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[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 generation backend for AArch64, significantly speeding
   compilation time on ARM platforms like the Apple M1.

 * Many changes in the area of records, including the new
   `RecordDotSyntax` and `NoFieldSelectors` language extensions, as well
   as Support for `DuplicateRecordFields` with `PatternSynonyms`.

 * Introduction of the new `GHC2021` language extension set, giving
   users convenient access to a larger set of language extensions which
   have been long considered stable.

 * Merging of `ghc-exactprint` into the GHC tree, providing
   infrastructure for source-to-source program rewriting out-of-the-box.

 * Introduction of a `BoxedRep` `RuntimeRep`, allowing for polymorphism
   over levity of boxed objects (#17526)

 * Implementation of the `UnliftedDataTypes` extension, allowing users
   to define types which do not admit lazy evaluation ([proposal])

 * The new [`-hi` profiling] mechanism which provides significantly
   improved insight into thunk leaks.

 * Support for the `ghc-debug` out-of-process heap inspection library
   [ghc-debug]

 * Significant improvements in the bytecode interpreter, allowing more
   programs to be efficently run in GHCi and Template Haskell splices.

 * Support for profiling of pinned objects with the cost-centre profiler
   (#7275)

 * Faster compilation and a smaller memory footprint

 * Introduction of Haddock documentation support in TemplateHaskell (#5467)

Finally, thank you to Microsoft Research, GitHub, IOHK, the Zw3rk stake
pool, Tweag I/O, Serokell, Equinix, SimSpace, and other anonymous
contributors whose on-going financial and in-kind support has
facilitated GHC maintenance and release management over the years.
Moreover, this release would not have been possible without the hundreds
of open-source contributors whose work comprise this release.

As always, do open a [ticket] if you see anything amiss.

Happy testing,

- Ben


[apple-m1]: https://www.haskell.org/ghc/blog/20210309-apple-m1-story.html
[proposal]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-unlifted-datatypes.rst
[-hi profiling]: 
https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/
[ghc-debug]: http://ghc.gitlab.haskell.org/ghc-debug/
[ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.2.1-rc1 now available

2021-08-22 Thread Ben Gamari

Hi all,

The GHC developers are very happy to announce the availability of the
release cadidate of the 9.2.1 release. Binary distributions, source
distributions, and documentation are available at

 https://downloads.haskell.org/ghc/9.2.1-rc1

GHC 9.2 will bring a number of exciting features including:

 * A native code generation backend for AArch64, significantly speeding
   compilation time on ARM platforms like the Apple M1.

 * Many changes in the area of records, including the new
   `RecordDotSyntax` and `NoFieldSelectors` language extensions, as well
   as Support for `DuplicateRecordFields` with `PatternSynonyms`.

 * Introduction of the new `GHC2021` language extension set, giving
   users convenient access to a larger set of language extensions which
   have been long considered stable.

 * Merge of `ghc-exactprint` into the GHC tree, providing infrastructure
   for source-to-source program rewriting out-of-the-box.

 * Introduction of a `BoxedRep` `RuntimeRep`, allowing for polymorphism
   over levity of boxed objects (#17526)

 * Implementation of the `UnliftedDataTypes` extension, allowing users
   to define types which do not admit lazy evaluation ([proposal])

 * The new [-hi profiling] mechanism which provides significantly
   improved insight into thunk leaks.

 * Support for the `ghc-debug` out-of-process heap inspection library
   [ghc-debug]

 * Support for profiling of pinned objects with the cost-centre profiler
   (#7275)

 * Introduction of Haddock documentation support in TemplateHaskell (#5467)

Finally, thank you to Microsoft Research, GitHub, IOHK, the Zw3rk stake
pool, Tweag I/O, Serokell, Equinix, SimSpace, and other anonymous
contributors whose on-going financial and in-kind support has
facilitated GHC maintenance and release management over the years.
Moreover, 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


[apple-m1]: https://www.haskell.org/ghc/blog/20210309-apple-m1-story.html
[proposal]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-unlifted-datatypes.rst
[-hi profiling]: 
https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/
[ghc-debug]: http://ghc.gitlab.haskell.org/ghc-debug/
[ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.2.1-alpha2 released

2021-04-22 Thread Ben Gamari

Hi all,

The GHC developers are very happy to announce the availability of the
second alpha release in the 9.2.1 series. Binary distributions, source
distributions, and documentation are available at

 https://downloads.haskell.org/ghc/9.2.1-alpha2

GHC 9.2 will bring a number of exciting features including:

 * Many changes in the area of records, including the new
   `RecordDotSyntax` and `NoFieldSelectors` language extensions, as well
   as Support for `DuplicateRecordFields` with `PatternSynonyms`.

 * Introduction of the new `GHC2021` language extension set, giving
   users convenient access to a larger set of language extensions which
   have been long considered stable.

 * Merge of `ghc-exactprint` into the GHC tree, providing infrastructure
   for source-to-source program rewriting out-of-the-box.

 * Introduction of a `BoxedRep` `RuntimeRep`, allowing for polymorphism
   over levity of boxed objects (#17526)

 * Implementation of the `UnliftedDataTypes` extension, allowing users
   to define types which do not admit lazy evaluation ([proposal])

 * The new [-hi profiling] mechanism which provides significantly
   improved insight into thunk leaks.

 * Support for the `ghc-debug` out-of-process heap inspection library
   [ghc-debug]

 * Support for profiling of pinned objects with the cost-centre profiler
   (#7275)

 * Introduction of Haddock documentation support in TemplateHaskell (#5467)

 * Proper support for impredicative types in the form of Quick-Look
   impredicativity.

 * A native code generator backend for AArch64.

This pre-release brings nearly 50 fixes relative to the first alpha,
although the long-awaited ARM NCG backend hasn't quite landed yet.

As always, do give this a try and open a [ticket] if you see anything amiss.

Happy testing,

- Ben


[proposal]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0265-unlifted-datatypes.rst
[-hi profiling]: 
https://well-typed.com/blog/2021/01/first-look-at-hi-profiling-mode/
[ghc-debug]: http://ghc.gitlab.haskell.org/ghc-debug/
[ticket]: https://gitlab.haskell.org/ghc/ghc/-/issues/new


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.10.4 released

2021-02-06 Thread Ben Gamari
The GHC team is very pleased to announce the availability of GHC 8.10.4.
Source and binary distributions are available at the usual
place:

https://downloads.haskell.org/ghc/8.10.4/

This is a small bug-fix release, fixing two bugs present in 8.10.3:

* Fix a linker hang triggered by dynamic code loading on Windows
  (#19155)

* Fix a crash caused by inappropriate garbage of heap-allocated data reachable
  from foreign exports (#19149)

As always, feel free to report any issues you encounter via
[gitlab.haskell.org](https://gitlab.haskell.org/ghc/ghc/-/issues/new).

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 9.0.1 released

2021-02-04 Thread Ben Gamari
The GHC team is very pleased to announce the availability of GHC 9.0.1.
Source and binary distributions are available at the usual
place:

https://downloads.haskell.org/ghc/9.0.1/

In addition to numerous bug fixes, GHC 9.0.1 will bring a number of new
features:

 * A first cut of the new LinearTypes language extension [2], allowing use
   of linear function syntax and linear record fields.

 * A new bignum library, ghc-bignum, improving portability and allowing GHC
   to be more easily used with integer libraries other than GMP.

 * Improvements in code generation, resulting in considerable
   runtime performance improvements in some programs.

 * Improvements in pattern-match checking, allowing more precise
   detection of redundant cases and reduced compilation time.

 * Implementation of the "simplified subsumption" proposal [3]
   simplifying the type system and paving the way for QuickLook
   impredicativity in GHC 9.2.

 * Implementation of the QualifiedDo extension [4], allowing more
   convenient overloading of `do` syntax.

 * An experimental new IO manager implementation for Windows platforms, both
   improving performance and fixing many of the quirks with the old manager 
built
   on POSIX-emulation.

 * Improvements in compilation time.

And many more. See the release notes [5] for a full accounting of the
changes in this release.

As always, feel free to report any issues you encounter via
gitlab.haskell.org.

Cheers,

 - Ben


[1]: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.0#ghc-prim-07
[2]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0111-linear-types.rst
[3]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0287-simplify-subsumption.rst
[4]: 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0216-qualified-do.rst
 
[5]: 
https://downloads.haskell.org/ghc/9.0.1/docs/html/users_guide/9.0.1-notes.html



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] Glasgow Haskell Compiler 9.0.1-rc1 released

2020-12-30 Thread Ben Gamari

Hello all,

The GHC team is very pleased to announce the availability of the first
release candidate of GHC 9.0.1 series. Source and binary distributions are
available at the usual place:

https://downloads.haskell.org/ghc/9.0.1-rc1/

This release candidate comes quite a bit later than expected after
difficulty finding a performance neutral fix for a critical soundness bug,
#17760. See [1] for details on the solution, particularly
if you are a library maintainer currently using the touch# primop or
withForeignPtr.

Nevertheless, this release has nevertheless seen a considerable amount of
testing and consequently we hope that this should be the last
pre-release before the final release.

In addition to numerous bug fixes, GHC 9.0.1 will bring a number of new
features:

 * A first cut of the new LinearTypes language extension [2], allowing
   use of linear function syntax and linear record fields.

 * A new bignum library (ghc-bignum), allowing GHC to be more easily
   used with integer libraries other than GMP.

 * Improvements in code generation, resulting in considerable
   performance improvements in some programs.

 * Improvements in pattern-match checking, allowing more precise
   detection of redundant cases and reduced compilation time.

 * Implementation of the "simplified subsumption" proposal [3]
   simplifying the type system and paving the way for QuickLook
   impredicativity in GHC 9.2.

 * Implementation of the QualifiedDo extension [4], allowing more
   convenient overloading of `do` syntax.

 * Improvements in compilation time.

And many more. See the release notes [5] for a full accounting of the
changes in this release.

As always, do test this release and open tickets for whatever issues you
encounter.

Cheers,

- Ben

[1] https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.0#ghc-prim-07
[2] 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0111-linear-types.rst
[3] 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0287-simplify-subsumption.rst
[4] 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0216-qualified-do.rst
 
[5] 
https://downloads.haskell.org/ghc/9.0.1-rc1/docs/html/users_guide/9.0.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] Glasgow Haskell Compiler 8.10.3 released

2020-12-20 Thread Ben Gamari
Shayne Fletcher  writes:

> On Sat, Dec 19, 2020 at 7:23 PM Ben Gamari  wrote:
>
>> Hello all,
>>
>> The GHC team is happy to announce the release of GHC 8.10.3. Source
>> and binary distributions are available at the usual place:
>>
>> https://downloads.haskell.org/ghc/8.10.3/
>
>
> Thanks!
>
> There doesn't seem to be a ghc-8.10.3-release tag in
> the g...@gitlab.haskell.org:ghc/ghc.git repository. Shouldn't there be?
>
Indeed. Fixed!

Cheers,

- Ben



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] Glasgow Haskell Compiler 8.10.3 released

2020-12-19 Thread Ben Gamari
Hello all,

The GHC team is happy to announce the release of GHC 8.10.3. Source
and binary distributions are available at the usual place:

https://downloads.haskell.org/ghc/8.10.3/

GHC 8.10.3 fixes a number of issues in present in GHC 8.10.2 including:

 * Numerous stability improves on Windows

 * More robust support for architectures with weak memory ordering
   guarantees (e.g. modern ARM hardware).

 * GHC can now split dynamic objects to accomodate macOS' RPATH size
   limitation when building large projects (#1)

 * Several correctness bugs in the new low-latency garbage collector

 * Many, many other bug-fixes

Note that at the moment we still require that macOS Catalina users
exempt the binary distribution from the notarization requirement by
running `xattr -cr .` on the unpacked tree before running `make install`.
This situation will hopefully be improved for GHC 9.0.1 with the
resolution of #17418 [1].

Cheers,

- Ben

[1] https://gitlab.haskell.org/ghc/ghc/issues/17418


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] Glasgow Haskell Compiler 9.0.1-alpha1 released

2020-11-23 Thread Ben Gamari
George Colpitts  writes:

> Hi Ben,
>
> What are the current plans / schedule for 9.0.1?
>
Hi George,

At the moment things are blocked on a solution to #17760, which I am
currently in the process of working through. There have been several
false-starts on this ticket and while the solution we are ending up with
is indeed a compromise (in both performance impact and convenience), I
am fairly convinced it is the best we can do.

I am waiting for a version of the patch to validate as we speak. As soon
as it (and a few other relevant patches) have been backported I will
move ahead with cutting the release candidate. I hope this can happen by
the end of the week.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] Glasgow Haskell Compiler 9.0.1-alpha1 released

2020-09-28 Thread Ben Gamari
Hello all,

The GHC team is very pleased to announce the availability of the first
alpha release in the GHC 9.0 series. Source and binary distributions are
available at the usual place:

https://downloads.haskell.org/ghc/9.0.1-alpha1/

This first alpha comes quite a bit later than expected. However, we have
done a significant amount of testing on this pre-release and therefore
hope to be able to move forward quickly with a release candidate next
week and with a final release in mid-October.

GHC 9.0.1 will bring a number of new features:

 * A first cut of the new LinearTypes language extension [1], allowing
   use of linear function syntax and linear record fields.

 * A new bignum library (ghc-bignum), allowing GHC to be more easily
   used with integer libraries other than GMP.

 * Improvements in code generation, resulting in considerable
   performance improvements in some programs.

 * Improvements in pattern-match checking, allowing more precise
   detection of redundant cases and reduced compilation time.

 * Implementation of the "simplified subsumption" proposal [2]
   simplifying the type system and paving the way for QuickLook
   impredicativity in GHC 9.2.

 * Implementation of the QualifiedDo extension [3], allowing more
   convenient overloading of `do` syntax.

 * Improvements in compilation time.

And many more. See the release notes [4] for a full accounting of the
changes in this release.

Do note that there are a few things that we expect will change before
the final release:

 * We expect to sort out a notarization workflow for Apple Darwin,
   allowing our binary distributions to be used on macOS Catalina
   without hassle.

   Until this has been sorted out Catalina users can exempt the
   current macOS binary distribution from the notarization requirement
   themselves by running `xattr -cr .` on the unpacked tree before
   running `make install`.

 * We will likely transition the Alpine binary distribution to be fully
   statically-linked, providing a convenient, distribution-independent
   packaging option for Linux users.

 * We will be merging a robust solution for #17760 which will introduce
   a new primitive, `keepAlive#`, to the `base` library, subsuming
   most uses of `touch#`.

As always, do test this release and open tickets for whatever issues you
encounter. To help with this, we will be publishing a blog post
describing use of our new `head.hackage` infrastructure to ease testing
of larger projects with Hackage dependencies later this week.

Cheers,

- Ben


[1] 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0111-linear-types.rst
[2] 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0287-simplify-subsumption.rst
[3] 
https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0216-qualified-do.rst
 
[4] 
https://downloads.haskell.org/ghc/9.0.1-alpha1/docs/html/users_guide/9.0.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Haskell Implementors' Workshop lightning talks

2020-08-24 Thread Ben Gamari
Hello everyone,

The Haskell Implementors' Workshop will be held this Friday, August
28th, colocated with virtual ICFP. As usual, we will have a number of
slots for lightning-talks. These are five-minute-long talks where you
can present libraries, language extension ideas, plugins, tools...
anything that the Haskell implementor community might find interesting.

We are collecting talk submissions via Google Forms [1] and will notify
speakers of their slots on August 27th. We are looking forward to seeing
you there!

Cheers,

- Ben


[1] https://forms.gle/a8sZQNRRMe9H9YnX8 


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: What does freezing an array really do?

2020-08-20 Thread Ben Gamari


On August 20, 2020 7:08:06 PM EDT, David Feuer  wrote:
>So I guess this is to avoid having to check the closure type on each
>mutation to see if the array needs to be added to the mutable list?
>
Correct.


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] Glasgow Haskell Compiler 8.10.2 released

2020-08-08 Thread Ben Gamari

Hello all,

The GHC team is happy to announce the release of GHC 8.10.2. Source
and binary distributions are available at the usual place:

https://downloads.haskell.org/ghc/8.10.2/

GHC 8.10.2 fixes a number of issues in present in GHC 8.10.1 including:

 * Fixes a bug in process creation on Windows (#17926).

 * Fixes a code generation bug resulting in incorrect code
   generation for foreign calls with complex arguments (#18527)

 * Fixes a bug causing object merging to fail when the lld linker is in
   use (#17962)

 * Introduces a workaround for a Linux kernel bug in the implementation
   of the timerfd mechanism (#18033).

 * Fixes a few specialiser regressions (#17810, #18120) as well
   introduces a variety of miscellaneous specialiser improvements
   (#16473, #17930, #17966)

 * Fixes a potential loss of sharing due to left operator sections (#18151).

 * Fix bootstrapping of GHC with the LLVM backend on x86-64 (#17920).

 * A few important correctness fixes for the low-latency garbage
   collector. Users of `--nonmoving-gc` are strongly encouraged to upgrade
   promptly.

Note that at the moment we still require that macOS Catalina users
exempt the binary distribution from the notarization requirement by
running `xattr -cr .` on the unpacked tree before running `make install`.
This situation will hopefully be improved for GHC 9.0.1 with the
resolution of #17418 [1].

Cheers,

- Ben

[1] https://gitlab.haskell.org/ghc/ghc/issues/17418


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GHC formally discontinuing 32-bit Windows support?

2020-07-15 Thread Ben Gamari
tl;dr. Unless someone speaks up, GHC will formally discontinue
   its (currently-broken) support for 32-bit Windows in 8.12.


Hi everyone,

As some have noticed, recent GHC releases' support for 32-bit Windows
support can be generously described as "unreliable". This has been due
to a combination of platform limitations, native toolchain bugs, and a
general lack of capacity within the GHC community focusing on Windows
support.

I won't summarise the concrete issues here (see #17961, and #17700 for the
current state-of-play) but let it suffice to say that we are currently
stuck due to a bug in GNU binutils. However, I was recently informed
that Cygwin and msys have recently discontinued their support for 32-bit
Windows. While GHC uses a toolchain from the mingw32-w64 project, it
seems only a matter of time before 32-bit builds cease there as well
(see [1] for a summary of the relationships between these projects).

Furthermore, Microsoft itself has said that 32-bit Windows 10 releases
will cease later this year. All of this suggests to me that supporting
32-bit Windows in GHC will be, at best, an up-hill battle. Even worse,
it is a battle with little to gained: essentially all Intel-based Windows
systems today run on 64-bit-capable systems. I know of no compelling
reasons why users would opt to use 32-bit Windows in 2020.

Consequently, I suggest that we should formally discontinue 32-bit
Windows support in GHC 8.12. In my opinion, GHC's limited engineering
capacity on Windows is better spent elsewhere.

However, if there are compelling reasons why some users still rely on
32-bit Windows support (despite it being largely unusable for the last
two years), please do let me know. I have been consistently surprised by
the number of users who have noted the absence of 32-bit Windows builds;
I would love to know why they seem to be so popular.

Cheers,

- Ben


[1] https://gitlab.haskell.org/ghc/ghc/-/wikis/surviving-windows


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.8.4 is now available

2020-07-15 Thread Ben Gamari
Hello everyone,

The GHC team is proud to announce the release of GHC 8.8.4. The source
distribution, binary distributions, and documentation are available at

https://downloads.haskell.org/~ghc/8.8.4

Release notes are also available [1].

This release fixes a handful of issues affecting 8.8.3:

 - Fixes a bug in process creation on Windows (#17926). Due to this fix
   we strongly encourage all Windows users to upgrade immediately.
 
 - Works around a Linux kernel bug in the implementation of timerfd
   (#18033)
 
 - Fixes a few linking issues affecting ARM
 
 - Fixes "missing interface file" error triggered by some uses of
   Data.Ord.Ordering (#18185)
 
 - Fixes an integer overflow in the compact-normal-form import
   implementation (#16992)
 
 - `configure` now accepts a `--enable-numa` flag to enable/disable
   `numactl` support on Linux.
 
 - Fixes potentially lost sharing due to the desugaring of left operator
   sections (#18151).
 
 - Fixes a build-system bug resulting in potential miscompilation by
   unregisteised compilers (#18024)
 
As always, if anything looks amiss do let us know.

Happy compiling!

Cheers,

- Ben

[1] 
https://downloads.haskell.org/ghc/8.8.4/docs/html/users_guide/8.8.4-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: Decorating exceptions with backtrace information

2020-05-11 Thread Ben Gamari
Michael Sloan  writes:

> Thanks so much for making a proposal for this, Ben!!  It's great to see
> progress here.
>
> I'm also glad that there is now a proposal process.  I made a fairly
> similar proposal almost exactly 5 years ago to the libraries list -
> https://mail.haskell.org/pipermail/libraries/2015-April/025471.html - but
> without the subtlety of particular backtrace representations.  Skimming the
> ensuing thread may still be informative.
>
Thanks for the reference, Michael! My feeling is that the proposal in
that thread is a bit too dynamic. That being said, I can see the
argument for wanting, for instance, a robust way to determine that an
exception is asynchronous.

> In particular, there is one thing I would like to highlight from that old
> proposal.  I think it'd be good to have a standard way to represent a chain
> of exceptions, and build this into `catch` and `finally`.  Python and Java
> both have a mechanism for this, and both refer to it as a "cause"
> exception.  When an exception is thrown during exception handling, the
> exception being handled is preserved as its "cause".  I find this mechanism
> to be incredibly useful in Java, it has made the underlying issue much
> clearer in many cases, and in other cases at least provides helpful
> context.  I have no doubt such a mechanism would have saved me many hours
> of debugging exceptions in Haskell systems I've worked on in the past.
>
> I considered commenting about that directly on the proposal, but I figure
> this is a better place to suggest expanding the scope of the change :) .
> Totally understandable if you want to keep this proposal focused on
> stacktraces, but I think it'd be good to consider this as a potential
> future improvement.
>
Indeed I can see the point. I'll keep this point in the back of my mind.
I'm not eager to further expand the scope of the proposal at the moment,
but we should be certain that the backtrace design doesn't
unintentionally close the door to this use-case.

However, one question I would have is whether the exception-chaining
use-case *needs* to be handled in SomeException. For instance, you could
rather leave this to user code. You might even give this pattern a
typeclass. For instance,

class HasChainedException e where
getChainedException :: e -> Maybe SomeException

data MyException = MyException { causedBy :: SomeException }

instance HasChainedException MyException where
getChainedException = causedBy

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] Decorating exceptions with backtrace information

2020-05-08 Thread Ben Gamari
Henning Thielemann  writes:

> On Fri, 8 May 2020, Niklas Hambüchen wrote:
>
>> On 5/8/20 7:32 PM, Henning Thielemann wrote:
>>
>>> Can someone please give me examples where current state lacks
>>
>> * Currently stack traces are not printed, so users cannot forward them 
>> to the developer, even if both the users and the developers would like 
>> that.
>
> We are talking about the HasCallStack stack traces, yes?
> How is their emission addressed by extending exceptions with stack
> traces?

HasCallStack stack traces are one type of backtrace that the proposal
supports. However, it's not the only (nor is it even the most useful
sort, in my opinion).

Other mechanisms include cost center stacks from the cost-center
profiler and native stack unwinding.

>
>> * Developers cannot easily produce stack traces do debug unintended 
>> exceptions.
>
> What are "unintended exceptions"?
> What is an example of an "unintended exception"?

For instance,

 * Somewhere deep in my code a colleague used `fromJust` due to a
   miscommunicated invariant

 * Somewhere in my system a `writeFile "tmp" $ repeat 'a'` failed due to
   filling the disk

 * Somewhere in my system I have a partial pattern match in a module
   which was compiled without -Wall

 * Somewhere in my system I `div` by zero due to lack of input
   validation

 * I use a record selector on a sum.

 * A logic error results in an assertion failure deep in my program, but
   it's unclear which path my program took to arrive at the assertion

This list could go on and on...

Currently the proposal does not cover asynchronous exceptions but it
wouldn't be particularly hard to extend it in this direction. This would
allow far better reporting of heap/stack overflows and MVar deadlocks
(which are particularly hard to debug at the moment).

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] Decorating exceptions with backtrace information

2020-05-08 Thread Ben Gamari
Henning Thielemann  writes:

> On Fri, 8 May 2020, Niklas Hambüchen wrote:
>
>> On 5/8/20 5:37 PM, Henning Thielemann wrote:
>>
>>> a callstack is not useful for a user.
>>
>> Call stacks have been very useful to me as a user of non-Haskell tools 
>> so far, because they are excellent for attaching to bug reports and 
>> usually led to developers fixing my problems faster.
>
> This confirms that they are not for you, but you only forward them to the 
> developer.
>
>
> Can someone please give me examples where current state lacks and how they 
> are addressed by the proposal(s)?

We can debate whether partial functions like `fromJust` should exist; however,
the fact of the matter is that they do exist and they are used.
Furthermore, even `base`'s own IO library (e.g. `openFile`) uses
synchronous exceptions to report errors.

This becomes particularly painful when building large systems:
Even if I am careful to avoid such functions in my own code, as my
dependency footprint grows it becomes more likely that some transitive
dependency will expose a partial interface (perhaps even without my
knowledge). This is a problem that industrial users are all too familiar
with.

Perhaps this helps to shed some light on the motivation?

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Decorating exceptions with backtrace information

2020-05-07 Thread Ben Gamari

Hi everyone,

After a nice discussion on IRC about the unfortunate state of error
reporting in Haskell, I felt compelled to write down some long-lingering
thoughts regarding backtraces on exceptions. The result is GHC proposal
#330 [1]. I think the approach is viable and perhaps even
straightforward. I have the sketch of an implementation here [2].

Please have a look at the proposal and leave your comments. If there is
consensus it is possible that we could have this done for 8.12.

Cheers,

- Ben


[1] https://github.com/ghc-proposals/ghc-proposals/pull/330
[2] https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3236


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] Glasgow Haskell Compiler 8.10.1 released

2020-03-24 Thread Ben Gamari
Ben Gamari  writes:

> Hello all,
>
> The GHC team is happy to announce the availability of GHC 8.10.1. Source
> and binary distributions are available at the usual place:
>
> https://downloads.haskell.org/ghc/8.10.1/

Note that the release notes can be found here:


https://downloads.haskell.org/ghc/8.10.1/docs/html/users_guide/8.10.1-notes.html

Further, the migration guide can be found here:

https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/8.10

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] Glasgow Haskell Compiler 8.10.1 released

2020-03-24 Thread Ben Gamari

Hello all,

The GHC team is happy to announce the availability of GHC 8.10.1. Source
and binary distributions are available at the usual place:

https://downloads.haskell.org/ghc/8.10.1/

GHC 8.10.1 brings a number of new features including:

 * The new UnliftedNewtypes extension allowing newtypes around unlifted
   types.

 * The new StandaloneKindSignatures extension allows users to give
   top-level kind signatures to type, type family, and class
   declarations.

 * A new warning, -Wderiving-defaults, to draw attention to ambiguous
   deriving clauses

 * A number of improvements in code generation, including changes

 * A new GHCi command, :instances, for listing the class instances
   available for a type.

 * An upgraded Windows toolchain lifting the MAX_PATH limitation

 * A new, low-latency garbage collector.

 * Improved support profiling, including support for sending profiler
   samples to the eventlog, allowing correlation between the profile and
   other program events

Note that at the moment we still require that macOS Catalina users
exempt the binary distribution from the notarization requirement by
running `xattr -cr .` on the unpacked tree before running `make install`.
This situation will hopefully be improved for GHC 8.10.2 with the
resolution of #17418 [1].

Cheers,

- Ben


[1] https://gitlab.haskell.org/ghc/ghc/issues/17418



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] [ANNOUNCE] GHC 8.8.3 is now available

2020-02-24 Thread Ben Gamari
Jens Petersen  writes:

> Thank you for the release.
>
> On Tue, 25 Feb 2020 at 02:02, Ben Gamari  wrote:
>
>> [1]
>> https://downloads.haskell.org/ghc/8.8.3/docs/html/users_guide/8.8.3-notes.html
>>
>
> I am getting 404 from the docs.

Hmm, this appears to be a CDN issue given that the file exists on the
server and


https://downloads.haskell.org/ghc/8.8.3/docs/html/users_guide//8.8.3-notes.html

works. This is quite odd given that I am quite aggressive in purging
the CDN at this point.

I'll try to investigate tomorrow.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 8.8.3 is now available

2020-02-24 Thread Ben Gamari
Ben Gamari  writes:

> Ben Gamari  writes:
>
>> --text follows this line--
>> <#part sign=pgpmime>
>>
>> Hello everyone,
>>
>> The GHC team is proud to announce the release of GHC 8.8.3. The source
>> distribution, binary distributions, and documentation are available at
>>
>> https://downloads.haskell.org/~ghc/8.8.3
>>
>> Release notes are also available [1].
>>
> Unfortunately there has been a slight mix-up in the binary distributions
> associated with this release and I will need to do a re-spin. I have
> pulled down the binary distributions for the time being. They should be
> back in a few hours.
>
> Many apologies for the confusion!
>
The issues with the release artifacts have been sorted out. Note that
these are new artifacts built from
d0bab2e3419e49cdbb1201d4650572b57f33420c, which is the commit pointed to
by the ghc-8.8.3-release tag.

While we typically try hard to avoid changing artifacts after they are
announced, given how quickly this issue was caught we thought this was
the least bad option.

Again, my apologies for the confusion and thanks for the patience.

Cheers,

- Ben



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 8.8.3 is now available

2020-02-24 Thread Ben Gamari
Ben Gamari  writes:

> --text follows this line--
> <#part sign=pgpmime>
>
> Hello everyone,
>
> The GHC team is proud to announce the release of GHC 8.8.3. The source
> distribution, binary distributions, and documentation are available at
>
> https://downloads.haskell.org/~ghc/8.8.3
>
> Release notes are also available [1].
>
Unfortunately there has been a slight mix-up in the binary distributions
associated with this release and I will need to do a re-spin. I have
pulled down the binary distributions for the time being. They should be
back in a few hours.

Many apologies for the confusion!

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.8.3 is now available

2020-02-24 Thread Ben Gamari

Hello everyone,

The GHC team is proud to announce the release of GHC 8.8.3. The source
distribution, binary distributions, and documentation are available at

https://downloads.haskell.org/~ghc/8.8.3

Release notes are also available [1].

This release fixes a handful of issues affecting 8.8.2:

 - a compiler panic (#17429) due to over-zealous eta reduction

 - a linker crash on Windows (#17575)

 - the ability to bootstrap with earlier 8.8 releases has been restored
   (#17146)

 - the `directory` submodule has been updated, fixing #17598

As always, if anything looks amiss do let us know.

Happy compiling!

Cheers,

- Ben


[1] 
https://downloads.haskell.org/ghc/8.8.3/docs/html/users_guide/8.8.3-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] Glasgow Haskell Compiler 8.10.1-rc1 released

2020-01-24 Thread Ben Gamari

Hello all,

The GHC team is happy to announce the availability of the first release
candidate of GHC 8.10.1. Source and binary distributions are
available at the usual place:

https://downloads.haskell.org/ghc/8.10.1-rc1/

GHC 8.10.1 will bring a number of new features including:

 * The new UnliftedNewtypes extension allowing newtypes around unlifted
   types.

 * The new StandaloneKindSignatures extension allows users to give
   top-level kind signatures to type, type family, and class
   declarations.

 * A new warning, -Wderiving-defaults, to draw attention to ambiguous
   deriving clauses

 * A number of improvements in code generation, including changes

 * A new GHCi command, :instances, for listing the class instances
   available for a type.

 * An upgraded Windows toolchain lifting the MAX_PATH limitation

 * A new, low-latency garbage collector.

 * Improved support profiling, including support for sending profiler
   samples to the eventlog, allowing correlation between the profile and
   other program events

This is the first and likely final release candidate. For a variety of
reasons, it comes a few weeks later than the original schedule of
release late December. However, besides a few core libraries
book-keeping issues this candidate is believed to be in good condition
for the final release. As such, the final 8.10.1 release will likely
come in two weeks.

Note that at the moment we still require that macOS Catalina users
exempt the binary distribution from the notarization requirement by
running `xattr -cr .` on the unpacked tree before running `make install`.

In addition, we are still looking for any Alpine Linux to help diagnose
the correctness issues in the Alpine binary distribution [1]. If you use
Alpine any you can offer here would be greatly appreciated.

Please do test this release and let us know if you encounter any other
issues.

Cheers,

- Ben


[1] https://gitlab.haskell.org/ghc/ghc/issues/17508
[2] https://gitlab.haskell.org/ghc/ghc/issues/17418


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: GHC 8.8.2 Bootstrap Build Fails on macOS Catalina 10.15, undeclared identifier 'TAG_MASK'

2020-01-17 Thread Ben Gamari
Steven Smith  writes:

> I’m trying to upgrade the MacPorts ghc install to the latest 8.8.2.
>
> The build fails with:
>> error: use of undeclared identifier 'TAG_MASK'
>> :info:build return (StgWord)p & TAG_MASK;
>
>
> This is an error observed with previous ghc versions and on other
> systems, so I do not believe it is macOS-specific. Also, the MacPorts
> build process simply follows the ghc Build & Install instructions:
> https://github.com/ghc/ghc/blob/master/README.md#building--installing
>
> Is there a simple fix by adding an extra flag somewhere?
>
Sigh, this is #17146 which should have been backported. I'll have to
investigate how this slipped through the cracks.

Thanks for raising this.

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.8.2 is now available

2020-01-16 Thread Ben Gamari

Hello everyone,

The GHC team is proud to announce the release of GHC 8.8.2. The source
distribution, binary distributions, and documentation are available at

https://downloads.haskell.org/~ghc/8.8.2

Release notes are also available [1].

This release fixes a handful of issues affecting 8.8.1:

 - A bug (#17088) in the compacting garbage collector resulting in
   segmentations faults under specific circumstances. Note that this may
   affect user programs even if they did not explicitly request the
   compacting GC (using the -c RTS flag) since GHC may fallback to
   compacting collection during times of high memory pressure.

 - A code generation bug (#17334) resulting in GHC panics has been
   fixed.

 - A bug in the `process` library causing builds using `hsc2hs` to fail
   non-deterministically on Windows has been fixed (Trac #17480)

 - A typechecker bug (#12088) resulting in programs being unexpectedly
   rejected has been fixed.

 - A bug in the implementation of compact normal forms resulting in
   segmentation faults in some uses (#17044) has been fixed.

 - A bug causing GHC to incorrectly complain about incompatible LLVM
   versions when using LLVM 7.0.1 has been fixed (#16990).

As always, if anything looks amiss do let us know.

Happy compiling!

Cheers,

- Ben


[1] 
https://downloads.haskell.org/ghc/8.8.2/docs/html/users_guide/8.8.2-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 8.8.2-rc1 is now available

2020-01-02 Thread Ben Gamari
On January 1, 2020 9:54:53 PM EST, Jens Petersen  wrote:
>On Fri, 13 Dec 2019 at 04:11, Ben Gamari  wrote:
>
>> https://downloads.haskell.org/~ghc/8.8.2-rc1
>>
>
>Thanks!
>
>I finally got round to doing some Fedora test
><https://koji.fedoraproject.org/koji/taskinfo?taskID=40008521> builds
><https://koji.fedoraproject.org/koji/taskinfo?taskID=40009471>.
>LGTM so far, though only tested lightly.
>
>I will be pushing this to the Fedora ghc:8.8 module testing stream
>soon.
>
>Jens

As always, thanks, Jens!
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.8.2-rc1 is now available

2019-12-12 Thread Ben Gamari

Hello everyone,

The GHC team is proud to announce the first release candidate of GHC
8.8.2. The source distribution, binary distributions, and documentation
are available at

https://downloads.haskell.org/~ghc/8.8.2-rc1

Release notes are also available [1].

This release fixes a handful of issues affecting 8.8.1:

 - A bug (#17088) in the compacting garbage collector resulting in
   segmentations faults under specific circumstances. Note that this may
   affect user programs even if they did not explicitly request the
   compacting GC (using the -c RTS flag) since GHC may fallback to
   compacting collection during times of high memory pressure.
   
 - A code generation bug (#17334) resulting in GHC panics has been
   fixed.

 - A bug in the `process` library causing builds using `hsc2hs` to fail
   non-deterministically on Windows has been fixed (Trac #17480)

 - A typechecker bug (#12088) resulting in programs being unexpectedly
   rejected has been fixed.

 - A bug in the implementation of compact normal forms resulting in
   segmentation faults in some uses (#17044) has been fixed.

 - A bug causing GHC to incorrectly complain about incompatible LLVM
   versions when using LLVM 7.0.1 has been fixed (#16990).

As always, if anything looks amiss do let us know.

Happy compiling!

Cheers,

- Ben


[1] 
https://downloads.haskell.org/ghc/8.8.2-rc1/docs/html/users_guide/8.8.2-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] Glasgow Haskell Compiler 8.10.1-alpha2 released

2019-12-11 Thread Ben Gamari
Hello all,

The GHC team is happy to announce the availability of the first alpha
release in the GHC 8.10 series. Source and binary distributions are
available at the usual place:

https://downloads.haskell.org/ghc/8.10.1-alpha2/

GHC 8.10.1 will bring a number of new features including:

 * The new UnliftedNewtypes extension allowing newtypes around unlifted
   types.

 * The new StandaloneKindSignatures extension allows users to give
   top-level kind signatures to type, type family, and class
   declarations.

 * A new warning, -Wderiving-defaults, to draw attention to ambiguous
   deriving clauses

 * A number of improvements in code generation, including changes

 * A new GHCi command, :instances, for listing the class instances
   available for a type.

 * An upgraded Windows toolchain lifting the MAX_PATH limitation

 * A new, low-latency garbage collector.

 * Improved support profiling, including support for sending profiler
   samples to the eventlog, allowing correlation between the profile and
   other program events

This release is the second alpha of the 8.10 pre-release cycle. The
release will be a release candidate in roughly three weeks. If all goes
well the final release will be cut roughly two weeks after the
candidate, in mid-January.

This being an alpha release, there are a few issues that are still
outstanding:

 * The new Alpine Linux binary distribution is not present due to an
   apparent correctness issue [1]; any help Alpine users can offer here
   would be greatly appreciated.

 * We have yet to sort out compliance with Apple's notarization
   requirements [2] which will be likely be necessary for users of
   macOS Catalina.

   However, until this has been sorted out Catalina users can exempt the
   current macOS binary distribution from the notarization requirement
   themselves by running `xattr -cr .` on the unpacked tree before
   running `make install`.

 * There is one remaining non-regression correctness issue which we plan
   to fix for the final 8.10.1 but that is not fixed in this release.

Please do test this release and let us know if you encounter any other
issues.

Cheers,

- Ben


[1] https://gitlab.haskell.org/ghc/ghc/issues/17508
[2] https://gitlab.haskell.org/ghc/ghc/issues/17418


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] Glasgow Haskell Compiler 8.10.1-alpha1 released

2019-11-24 Thread Ben Gamari
Hello all,

The GHC team is happy to announce the availability of the first alpha
release in the GHC 8.10 series. Source and binary distributions are
available at the usual place:

https://downloads.haskell.org/ghc/8.10.1-alpha1/

GHC 8.10.1 will bring a number of new features including:

 * The new UnliftedNewtypes extension allowing newtypes around unlifted
   types.

 * The new StandaloneKindSignatures extension allows users to give
   top-level kind signatures to type, type family, and class
   declarations.

 * A new warning, -Wderiving-defaults, to draw attention to ambiguous
   deriving clauses

 * A number of improvements in code generation, including changes

 * A new GHCi command, :instances, for listing the class instances
   available for a type.

 * An upgraded Windows toolchain lifting the MAX_PATH limitation

 * Improved support profiling, including support for sending profiler
   samples to the eventlog, allowing correlation between the profile and
   other program events

This release marks the beginning of the 8.10 pre-release cycle. The next
alpha release will be in roughly two weeks. This next alpha will likely
be the last release before the release candidate in late December. If
all goes well the final release will be cut roughly two weeks after the
candidate, in mid-January.

This being an alpha release, there are a few issues that are still
outstanding:

 * The new Alpine Linux binary distribution is not present due to an
   apparent correctness issue [1]; any help Alpine users can offer here
   would be greatly appreciated.

 * We have yet to sort out compliance with Apple's notarization
   requirements [2] which will be likely be necessary for users of
   macOS Catalina.

 * There is an issue with the users guide build that has yet to be
   sorted out.

 * There are a couple of non-regression correctness issues which we plan
   to fix for the final 8.10.1 but are not fixed in this release.

 * Debian 10 builds are not yet available.

Please do test this release and let us know if you encounter any other
issues.

Cheers,

- Ben


[1] https://gitlab.haskell.org/ghc/ghc/issues/17508
[2] https://gitlab.haskell.org/ghc/ghc/issues/17418


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.8.1 is now available

2019-08-26 Thread Ben Gamari

Hello everyone,

The GHC team is pleased to announce the release candidate for GHC 8.8.1.
The source distribution, binary distributions, and documentation are
available at

https://downloads.haskell.org/ghc/8.8.1

This release is the culmination of over 3000 commits by over one hundred
contributors and has several new features and numerous bug fixes
relative to GHC 8.6:

 * Visible kind applications are now supported (GHC Proposal #15)

 * Profiling now works correctly on 64-bit Windows (although still may
   be problematic on 32-bit Windows due to platform limitations; see
   #15934)

 * A new code layout algorithm for amd64's native code generator
   significantly improving the runtime performance of some kernels

 * The introduction of a late lambda-lifting pass which may reduce
   allocations significantly for some programs.

 * Further work on Trees That Grow, enabling improved code re-use of the
   Haskell AST in tooling

 * Users can write `forall` in more contexts (GHC Proposal #7)

 * The pattern-match checker is now more precise in the presence of
   strict fields with uninhabited types.

 * A comprehensive audit of GHC's memory ordering barriers has been
   performed, resulting in a number of fixes that should significantly
   improve the reliability of programs on architectures with
   weakly-ordered memory models (e.g. PowerPC, many ARM and AArch64
   implementations).

 * A long-standing linker limitation rendering GHCi unusable with
   projects with cyclic symbol dependencies has been fixed (#13786)

 * Further work on the Hadrian build system

 * Countless miscellaneous bug-fixes

Unfortunately, due to a build issue (#17108) found late in the release process
i386 Windows builds are currently unavailable. These will be provided in
the coming weeks.

As always, if anything looks amiss do let us know.

Happy compiling!

Cheers,

- Ben


[1] 
https://downloads.haskell.org/ghc/8.8.1/docs/html/users_guide/8.8.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.8.1 release candidate 1 is now available

2019-07-22 Thread Ben Gamari
Hello everyone,

The GHC team is pleased to announce the release candidate for GHC 8.8.1.
The source distribution, binary distributions, and documentation are
available at

https://downloads.haskell.org/ghc/8.8.1-rc1

This release is the culmination of over 3000 commits by over one hundred
contributors and has several new features and numerous bug fixes
relative to GHC 8.6:

 * Profiling now works correctly on 64-bit Windows (although still may
   be problematic on 32-bit Windows due to platform limitations; see
   #15934)

 * A new code layout algorithm for amd64's native code generator

 * The introduction of a late lambda-lifting pass which may reduce
   allocations significantly for some programs.

 * Further work on Trees That Grow, enabling improved code re-use of the
   Haskell AST in tooling

 * More locations where users can write `forall` (GHC Proposal #0007)

 * A comprehensive audit of GHC's memory ordering barriers has been
   performed, resulting in a number of fixes that should significantly
   improve the reliability of programs on architectures with
   weakly-ordered memory models (e.g. PowerPC, many ARM and AArch64
   implementations).

 * A long-standing linker limitation rendering GHCi unusable with
   projects with cyclic symbol dependencies has been fixed (#13786)

 * Further work on the Hadrian build system

 * Numerous bug-fixes

As always, if anything looks amiss do let us know.

Happy compiling!

Cheers,

- Ben


[1] 
https://downloads.haskell.org/ghc/8.8.1-rc1/docs/html/users_guide/8.8.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


The future of the SPARC NCG backend

2019-06-27 Thread Ben Gamari
Hello everyone,

If you use (or think you might use in the future) GHC's SPARC NCG
backend please do leave a note on #16882 [1]. My impression is that it
has no users and no plausible means of testing. Consequently I am
suggesting that we remove it in GHC 8.12.

Cheers,

- Ben


[1] https://gitlab.haskell.org/ghc/ghc/issues/16882


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 8.8.1-alpha2 is now available

2019-06-22 Thread Ben Gamari
George Colpitts  writes:

> Will 8.8.1 use llvm 7.0.1? I don't see it mentioned in the release notes.
>
Yes, this release will target LLVM 7. I'll add a mention to the release notes.

Cheers,

- Ben



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 8.8.1-alpha2 is now available

2019-06-17 Thread Ben Gamari
That is true and this will be fixed for the release candidate. However Debian 8 
is now no longer Debian's current stable release so I wasn't prioritizing this 
issue. If the lack of a Debian 8 distribution is preventing anyone from testing 
please let me know.

Cheers,

- Ben


On June 17, 2019 6:24:16 AM EDT, Matthew Pickering 
 wrote:
>There seems to be no debian8 bindist which is different from every
>release at least back to ghc-8.0.1.
>
>On Sat, Jun 15, 2019 at 8:36 PM Ben Gamari  wrote:
>>
>> Hello everyone,
>>
>> The GHC team is pleased to announce the second and likely last alpha
>> release of GHC 8.8.1. The source distribution, binary distributions,
>and
>> documentation are available at
>>
>> https://downloads.haskell.org/~ghc/8.8.1-alpha2
>>
>> A draft of the release notes is also available [1].
>>
>> This release is the culmination of over 3000 commits by over one
>hundred
>> contributors and has several new features and numerous bug fixes
>> relative to GHC 8.6:
>>
>>  * Profiling now works correctly on 64-bit Windows (although still
>may
>>be problematic on 32-bit Windows due to platform limitations; see
>>#15934)
>>
>>  * A new code layout algorithm for amd64's native code generator
>>
>>  * The introduction of a late lambda-lifting pass which may reduce
>>allocations significantly for some programs.
>>
>>  * Further work on Trees That Grow, enabling improved code re-use of
>the
>>Haskell AST in tooling
>>
>>  * More locations where users can write `forall` (GHC Proposal #0007)
>>
>>  * Further work on the Hadrian build system
>>
>> This release brings a number of fixes since alpha 1:
>>
>>  * A number of linker fixes (#16779, #16784)
>>
>>  * The process, binary, Cabal, time, terminfo libraries have all been
>>bumped to their final release versions
>>
>>  * A regression rendering TemplateHaskell unusable in cross-compiled
>>configurations has been fixed (#16331)
>>
>>  * A regression causing compiler panics on compilation of some
>programs
>>has been fixed (#16449)
>>
>>  * -Wmissing-home-modules now handles hs-boot files correctly
>(#16551)
>>
>>  * A regression causing some programs to fail at runtime has been
>fixed
>>(#16066)
>>
>> Due to on-going work on our release and testing infrastructure this
>> cycle is proceeding at a pace significantly slower than expected.
>> However, we anticipate that this investment will allow us to release
>a
>> more reliable, easier-to-install compiler on the planned six-month
>> release cadence in the future.
>>
>> As always, if anything looks amiss do let us know.
>>
>> Happy compiling!
>>
>> Cheers,
>>
>> - Ben
>>
>> [1]
>https://downloads.haskell.org/ghc/8.8.1-alpha2/docs/html/users_guide/8.8.1-notes.html
>> ___
>> ghc-devs mailing list
>> ghc-d...@haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.8.1-alpha2 is now available

2019-06-15 Thread Ben Gamari
Hello everyone,

The GHC team is pleased to announce the second and likely last alpha
release of GHC 8.8.1. The source distribution, binary distributions, and
documentation are available at

https://downloads.haskell.org/~ghc/8.8.1-alpha2

A draft of the release notes is also available [1].

This release is the culmination of over 3000 commits by over one hundred
contributors and has several new features and numerous bug fixes
relative to GHC 8.6:

 * Profiling now works correctly on 64-bit Windows (although still may
   be problematic on 32-bit Windows due to platform limitations; see
   #15934)

 * A new code layout algorithm for amd64's native code generator

 * The introduction of a late lambda-lifting pass which may reduce
   allocations significantly for some programs.

 * Further work on Trees That Grow, enabling improved code re-use of the
   Haskell AST in tooling

 * More locations where users can write `forall` (GHC Proposal #0007)

 * Further work on the Hadrian build system

This release brings a number of fixes since alpha 1:

 * A number of linker fixes (#16779, #16784)

 * The process, binary, Cabal, time, terminfo libraries have all been
   bumped to their final release versions

 * A regression rendering TemplateHaskell unusable in cross-compiled
   configurations has been fixed (#16331)

 * A regression causing compiler panics on compilation of some programs
   has been fixed (#16449)

 * -Wmissing-home-modules now handles hs-boot files correctly (#16551)

 * A regression causing some programs to fail at runtime has been fixed
   (#16066)

Due to on-going work on our release and testing infrastructure this
cycle is proceeding at a pace significantly slower than expected.
However, we anticipate that this investment will allow us to release a
more reliable, easier-to-install compiler on the planned six-month
release cadence in the future.

As always, if anything looks amiss do let us know.

Happy compiling!

Cheers,

- Ben

[1] 
https://downloads.haskell.org/ghc/8.8.1-alpha2/docs/html/users_guide/8.8.1-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.8.1-alpha1 is now available

2019-04-25 Thread Ben Gamari
Hello everyone,

The GHC team is pleased to announce the first alpha release of GHC 8.8.1.
The source distribution, binary distributions, and documentation are
available at

https://downloads.haskell.org/~ghc/8.8.1-alpha1

A draft of the release notes is also available [1].

This release is the culmination of over 3000 commits by over one hundred
contributors and has several new features and numerous bug fixes
relative to GHC 8.6:

 * Profiling now works correctly on 64-bit Windows (although still may
   be problematic on 32-bit Windows due to platform limitations; see
   #15934)

 * A new code layout algorithm for amd64's native code generator

 * The introduction of a late lambda-lifting pass which may reduce
   allocations significantly for some programs.

 * Further work on Trees That Grow, enabling improved code re-use of the
   Haskell AST in tooling

 * More locations where users can write `forall` (GHC Proposal #0007)

 * Further work on the Hadrian build system

This release starts the pre-release cycle for GHC 8.8. This cycle is
starting quite a bit later than expected due recent work on GHC's CI and
release infrastructure. See the GHC Blog [2] for more on this.

As always, if anything looks amiss do let us know.

Happy compiling!

Cheers,

- Ben


[1] 
https://downloads.haskell.org/ghc/8.8.1-alpha1/docs/html/users_guide/8.8.1-notes.html
[2] https://www.haskell.org/ghc/blog/20190405-ghc-8.8-status.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.6.5 is now available

2019-04-23 Thread Ben Gamari

Hello everyone,

The GHC team is proud to announce the release of GHC 8.6.5. The source
distribution, binary distributions, and documentation are available at

https://downloads.haskell.org/~ghc/8.6.5

Release notes are also available [1].

This release fixes a handful of issues with 8.6.4:

 - Binary distributions once again ship with Haddock documentation including
   syntax highlighted source of core libraries (#16445)

 - A build system issue where use of GCC with `-flto` broke `configure`
   was fixed (#16440)

 - An bug affecting Windows platforms wherein XMM register values could be
   mangled when entering STG has been fixed (#16514)

 - Several Windows packaging issues resulting from the recent CI rework.
   (#16408, #16398, #16516)

Do note that due to linking issues (see #15934) profiling will be rather
unreliable on Windows. This will be fixed in 8.8.1.

As always, if anything looks amiss do let us know.

Happy compiling!

Cheers,

- Ben


[1] 
http://downloads.haskell.org/~ghc/8.6.5/docs/html/users_guide/8.6.5-notes.html


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.6.5-rc1 is now available

2019-04-08 Thread Ben Gamari
Hello everyone,

The GHC team is proud to announce the first release candidate of 8.6.5.
The source distribution, binary distributions, and documentation are
available at

https://downloads.haskell.org/~ghc/8.6.5-rc1

This release fixes a handful of issues with 8.6.4:

 - Binary distributions once again ship with Haddock documentation including
   syntax highlighted source of core libraries (#16445)

 - A build system issue where use of GCC with `-flto` broke `configure`
   was fixed (#16440)
 
 - An bug affecting Windows platforms wherein XMM register values could be
   mangled when entering STG has been fixed (#16514)
 
 - Several Windows packaging issues resulting from the recent CI rework.
   (#16408, #16398, #16516)

Since this is a relatively small bugfix release we are bypassing the
alpha releases and moving right to the release candidate stage. If all
goes well the final release will be cut next week.

As always, if anything looks amiss do let us know.

Happy testing!

Cheers,

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GHC HEAD documentation once again available

2019-03-30 Thread Ben Gamari
TL;DR. A snapshot of GHC's documentation from the master branch can
   always be found at [2].


Hi everyone,

Quite a while ago I made it a habit of periodically pushing
documentation snapshots from GHC's master branch to
downloads.haskell.org [1]. Unfortunately, despite some attempts at
automating this process, this frequently grew out-of-date.

I am happy to report that documentation snapshots are now generated
as a product of GHC's CI process and made available here [2]. The old
downloads.haskell.org URL redirects to [2] and consequently should now
always be up-to-date.

Let me know if you notice anything amiss.

Cheers,

- Ben


[1] https://downloads.haskell.org/ghc/master/
[2] https://ghc.gitlab.haskell.org/ghc/doc/


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


GitLab updates

2019-03-16 Thread Ben Gamari
Hi everyone,

I want to share a few developments on the GitLab migration front:

 * URLs pointing to tickets or the Wiki which were previously served by
   Trac (https://ghc.haskell.org/) now redirect to their corresponding
   GitLab URL.

   Wiki page names are redirected via this mapping [1]. If you find any
   cases were this doesn't work as you would expect then please do let
   me know or open a ticket [4]. If you do want to view Trac you may do
   so (for the time being) at https://trac.haskell.org/.

   In the coming days I will be taking a final static archival snapshot
   of our Trac instance and in the next few weeks we will likely shut it
   down.

 * This afternoon I imported [2] a few dozen keywords from Trac that
   were omitted from the initial import. At this point the ghc/ghc
   project has nearly 100 labels. It's unclear how usable this will be
   without either paring down the label space or imposing some sort of
   order (e.g. adding categorical prefixes to label names) but time will
   tell.

 * Our GitLab installation has been upgraded to GitLab 11.8. The changes
   are relatively minor but I am sure you will spot them.

 * The source for GHC's homepage (https://www.haskell.org/ghc) is now
   hosted in the ghc/homepage project [3]. If you find anything wrong
   with the website feel free to submit a merge request.

As always, if you find anything amiss don't hesitate to ping me or open
a ticket [4].

Note that the Wiki is still in need of quite a bit of cleanup [5]. If
you have some time and want to help out either pick up a ticket or just
start browsing and clean-up the first page you find. Many hands makes
for light work.

However, if you end up renaming any Wiki pages please do open a merge
request updating `wiki-mapping.json` [1].

Thank you for your patience while we push through the remaining parts of
the migration.

Cheers,

- Ben


[1] 
https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
[2] 
https://gitlab.haskell.org/bgamari/trac-to-remarkup/commit/4104086bca53528b092ad907b6d1f57c5b140587#b39596681b9e4fc60d716cdc07030e8064b03d73_70_72
[3] https://gitlab.haskell.org/ghc/homepage
[4] https://gitlab.haskell.org/bgamari/gitlab-migration/issues
[5] 
https://gitlab.haskell.org/bgamari/gitlab-migration/issues?label_name%5B%5D=Wiki


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: Trac to GitLab migration underway

2019-03-10 Thread Ben Gamari
Ben Gamari  writes:

> Hello everyone,
>
> I have started the process of migrating GHC's Trac content to GitLab.
> GitLab (gitlab.haskell.org) and Trac (ghc.haskell.org) will be down
> until this process has finished. I will post updates as necessary.
>
Hi everyone,

I'm happy to announce that the ticket and issue import processes are now
complete and gitlab.haskell.org is back online. There are still a few
final steps remaining which I will be carrying out over the next few
days:

 * Put in place redirect logic for Trac ticket and Wiki URLs

 * Add issue comments showing commit messages, replicating the previous
   Trac behavior

 * Migrate the GHC Blog entries

 * Make the old Trac instance again accessible in read-only mode

However, while I do this you should feel free to use gitlab.haskell.org freely.
If you notice any issues with the import feel free to open a ticket here [1].

Cheers,

- Ben



[1] https://gitlab.haskell.org/bgamari/gitlab-migration/issues


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Trac to GitLab migration underway

2019-03-09 Thread Ben Gamari
Hello everyone,

I have started the process of migrating GHC's Trac content to GitLab.
GitLab (gitlab.haskell.org) and Trac (ghc.haskell.org) will be down
until this process has finished. I will post updates as necessary.

However, if you do need to refer to a ticket, you are welcome to use the
staging server [1], which has a reasonably up-to-date (read-only)
snapshot of our Trac tickets. However, do note that unfortunately
authentication via GitHub will not work on this site.

Cheers,

- Ben


[1] https://gitlab.staging.haskell.org/


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] Final steps in GHC's Trac-to-GitLab migration

2019-03-06 Thread Ben Gamari


On March 6, 2019 6:11:49 AM EST, Ara Adkins  wrote:
>Super excited for this! Thank you to everyone whose put in so much hard
>work to get it done!
>
>One question: what is happening with the trac tickets mailing list? I
>imagine it’ll be going away, but for those of us that use it to keep
>track of things is there a recommended alternative? 
>
The ghc-commits list will continue to work.

The ghc-tickets list is a good question. I suspect that under gitlab there will 
be less need for this list but we may still want to continue maintaining it 
regardless for continuity's sake. Thoughts? 

Cheers, 

- Ben 



>Best,
>_ara
>
>> On 6 Mar 2019, at 01:21, Ben Gamari  wrote:
>> 
>> Hi everyone,
>> 
>> Over the past few weeks we have been hard at work sorting out the
>> last batch of issues in GHC's Trac-to-GitLab import [1]. At this
>point I
>> believe we have sorted out the issues which are necessary to perform
>the
>> final migration:
>> 
>> * We are missing only two tickets (#1436 and #2074 which will require
>a
>>   bit of manual intervention to import due to extremely large
>>   description lengths)
>> 
>> * A variety of markup issues have been resolved
>> 
>> * More metadata is now preserved via labels. We may choose to
>>   reorganize or eliminate some of these labels in time but it's
>easier
>>   to remove metadata after import than it is to reintroduce it. The
>>   logic which maps Trac metadata to GitLab labels can be found here
>[2]
>> 
>> * We now generate a Wiki table of contents [3] which is significantly
>>   more readable than GitLab's default page list. This will be updated
>>   by a cron job until underlying GitLab pages list becomes more
>>   readable.
>> 
>> * We now generate redirects for Trac ticket and Wiki links (although
>>   this isn't visible in the staging instance)
>> 
>> * Milestones are now properly closed when closed in Trac
>> 
>> * Mapping between Trac and GitLab usernames is now a bit more robust
>> 
>> As in previous test imports, we would appreciate it if you could have
>a
>> look over the import and let us know of any problems your encounter.
>> 
>> If no serious issues are identified with the staging site we plan to
>> proceed with the migration this coming weekend. The current migration
>> plan is to perform the final import on gitlab.haskell.org on
>Saturday, 9
>> March 2019.
>> 
>> This will involve both gitlab.haskell.org and ghc.haskell.org being
>down
>> for likely the entirety of the day Saturday and likely some of Sunday
>> (EST time zone). Read-only access will be available to
>> gitlab.staging.haskell.org for ticket lookup while the import is
>> underway.
>> 
>> After the import we will wait at least a week or so before we begin
>the
>> process of decommissioning Trac, which will be kept in read-only mode
>> for the duration.
>> 
>> Do let me know if the 9 March timing is problematic.
>> 
>> Cheers,
>> 
>> - Ben
>> 
>> 
>> [1] https://gitlab.staging.haskell.org/ghc/ghc
>> [2]
>https://github.com/bgamari/trac-to-remarkup/blob/master/TicketImport.hs#L227
>> [3] https://gitlab.staging.haskell.org/ghc/ghc/wikis/index
>> ___
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>> Only members subscribed via the mailman list are allowed to post.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] Final steps in GHC's Trac-to-GitLab migration

2019-03-06 Thread Ben Gamari


On March 6, 2019 1:32:44 AM EST, "Ömer Sinan Ağacan"  
wrote:
>This look great, thanks to everyone involved!
>
>Some feedback:
>
>- When I click to the "Wiki" link on the left it opens "Home" page and
>I don't
>know how to go to the index from there. I think we may want index to be
>the
>  home page for the wiki?
>

Yes, I do think we at least want to link to the index from the wiki home page. 


>- Redirects don't seem to work:
>https://gitlab.staging.haskell.org/ghc/ghc/wikis/commentary/rts/heap-objects
>
Yes this needs to be fixed. 


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Final steps in GHC's Trac-to-GitLab migration

2019-03-05 Thread Ben Gamari
Hi everyone,

Over the past few weeks we have been hard at work sorting out the
last batch of issues in GHC's Trac-to-GitLab import [1]. At this point I
believe we have sorted out the issues which are necessary to perform the
final migration:

 * We are missing only two tickets (#1436 and #2074 which will require a
   bit of manual intervention to import due to extremely large
   description lengths)

 * A variety of markup issues have been resolved

 * More metadata is now preserved via labels. We may choose to
   reorganize or eliminate some of these labels in time but it's easier
   to remove metadata after import than it is to reintroduce it. The
   logic which maps Trac metadata to GitLab labels can be found here [2]

 * We now generate a Wiki table of contents [3] which is significantly
   more readable than GitLab's default page list. This will be updated
   by a cron job until underlying GitLab pages list becomes more
   readable.

 * We now generate redirects for Trac ticket and Wiki links (although
   this isn't visible in the staging instance)

 * Milestones are now properly closed when closed in Trac

 * Mapping between Trac and GitLab usernames is now a bit more robust

As in previous test imports, we would appreciate it if you could have a
look over the import and let us know of any problems your encounter.

If no serious issues are identified with the staging site we plan to
proceed with the migration this coming weekend. The current migration
plan is to perform the final import on gitlab.haskell.org on Saturday, 9
March 2019.

This will involve both gitlab.haskell.org and ghc.haskell.org being down
for likely the entirety of the day Saturday and likely some of Sunday
(EST time zone). Read-only access will be available to
gitlab.staging.haskell.org for ticket lookup while the import is
underway.

After the import we will wait at least a week or so before we begin the
process of decommissioning Trac, which will be kept in read-only mode
for the duration.

Do let me know if the 9 March timing is problematic.

Cheers,

- Ben


[1] https://gitlab.staging.haskell.org/ghc/ghc
[2] https://github.com/bgamari/trac-to-remarkup/blob/master/TicketImport.hs#L227
[3] https://gitlab.staging.haskell.org/ghc/ghc/wikis/index


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.6.4 is now available

2019-03-05 Thread Ben Gamari

Hello everyone,

The GHC team is very happy to announce the availability of GHC 8.6.4, a
bugfix release in the GHC 8.6 series. The source distribution, binary
distributions, and documentation for this release are available at

https://downloads.haskell.org/~ghc/8.6.4

The 8.6.4 release fixes several regressions present in 8.6.3 including:

 - A regression resulting in segmentation faults on Windows introduced
   by the fix for #16071 backported in 8.6.3. This fix has been reverted,
   meaning that 8.6.4 is once again susceptible to #16071. #16071 will
   be fixed in GHC 8.8.1.

 - A bug resulting in incorrect locking on Darwin, potentially resulting
   in hangs at shutdown (#16150)

 - A few bugs in the profiled runtime resulting in the potential for
   memory unsafety has been fixed (#15508).

 - The `process` and `transformers` libraries shipped now properly
   reflect released Hackage releases (#16199)

 - A bug where TH name resolution would break in a plugin context has
   been fixed (#16104)

 - Compilers that do not support TemplateHaskell no longer advertise
   such support in `--supported-languages` (#16331)

As a few of these issues are rather serious users are strongly
encouraged to upgrade. See Trac [1] for a full list of issues resolved
in this release.

Note that this release ships with one significant but long-standing bug
(#14251): Calls to functions taking both Float# and Double# may result
in incorrect code generation when compiled using the LLVM code generator.
This is not a new issue, it has existed as long as the LLVM code
generator has existed; however, changes in code generation in 8.6 made
it more likely that user code using only lifted types will trigger it.

Note also that this is the first release cut from our (yet again)
revamped continuous integration infrastructure. While we have done a
great deal of checking to ensure that the build configuration reflects
that of previous releases, do let us know if something looks off.

Happy compiling!

Cheers,

- Ben

[1] 
https://ghc.haskell.org/trac/ghc/query?status=closed&milestone=8.6.4&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&order=priority
 


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.6.3 is now available

2018-12-07 Thread Ben Gamari

Hello everyone,

The GHC team is very happy to announce the availability of GHC 8.6.3, a
bugfix release in the GHC 8.6 series. The source distribution, binary
distributions, and documentation for this release are available at

https://downloads.haskell.org/~ghc/8.6.3

The 8.6 release fixes several regressions present in 8.6.2 including:

 - A code generation bug resulting in segmentations faults in some
   programs (#15892)

 - Darwin binary distributions are now correctly built against an
   in-tree GMP (#15404)

 - Three bugs leading to linker failures on Windows (#15105, #15894,
   #15934)

 - A bug leading to programs with deep stacks crashing when run with
   retainer profiling enabled (#14758)

 - A bug resulting in potential heap corruption during stable name
   allocation (#15906)

 - Plugins are now loaded during GHCi sessions (#15633)

As a few of these issues are rather serious users are strongly
encouraged to upgrade. See Trac [1] for a full list of issues resolved
in this release.

Note that this release ships with one significant but long-standing bug
(#14251): Calls to functions taking both Float# and Double# may result
in incorrect code generation when compiled using the LLVM code generator.
This is not a new issue, it has existed as long as the LLVM code
generator has existed; however, changes in code generation in 8.6 made
it more likely that user code using only lifted types will trigger it.

Happy compiling!

Cheers,

- Ben


[1] 
https://ghc.haskell.org/trac/ghc/query?status=closed&milestone=8.6.3&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&order=priority
 


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.6.2 is now available

2018-11-05 Thread Ben Gamari
Hello everyone,

The GHC team is very happy to announce the availability of GHC 8.6.2, a
bugfix release to GHC 8.6.1. The source distribution, binary
distributions, and documentation for this release are available at

https://downloads.haskell.org/~ghc/8.6.2

The 8.6 release fixes several regressions present in 8.6.1 including:

 * A long-standing (but previously hard to manifest) bug resulting in
   undefined behavior for some applications of dataToTag# has been fixed
   (#15696)

 * An incorrect linker path to libgmp in the Mac OS binary distributions
   (#15404)

 * A regression rendering Windows installations to read-only directories
   unusable (#15667)

 * A regression resulting in panics while compiling some record updates
   of GADTs constructors  (#15499)

 * A regression resulting in incorrect type errors when splicing types
   into constraint contexts has been fixed (#15815)

 * Around a dozen other issues.

See Trac [1] for a full list of issues resolved in this release.

Note that this release ships with one significant but long-standing bug
(#14251): Calls to functions taking both Float# and Double# may result
in incorrect code generation when compiled using the LLVM code generator.
This is not a new issue, it has existed as long as the LLVM code
generator has existed; however, changes in code generation in 8.6 made
it more likely that user code using only lifted types will trigger it.

Happy compiling!

Cheers,

- Ben



[1] 
https://ghc.haskell.org/trac/ghc/query?status=closed&milestone=8.6.2&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&order=priority
 


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Help inform GHC's development priorities

2018-10-18 Thread Ben Gamari
tl;dr. Please a take a minute to express your thoughts on
   GHC's development priorities via this survey [1].


Hello everyone,

The GHC developers want to ensure that we are working on problems that
of most importance to you, the Haskell community. To this end we are
surveying the community [1], asking how our users interact with GHC and
which problems need to be addressed most urgently.

We hope you will take a few minutes to give us your thoughts [1].

Thanks in advance for your time and, finally, thanks to the financial
supporters that make our work GHC possible.

Cheers,

- Ben and the rest of the GHC developers



[1] 
https://docs.google.com/forms/d/e/1FAIpQLSdh7sf2MqHoEmjt38r1cxCF-tV76OFCJqU6VabGzlOUKYqo-w/viewform


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 8.4.4 released

2018-10-18 Thread Ben Gamari
Jens Petersen  writes:

> On Mon, 15 Oct 2018 at 07:17, Ben Gamari  wrote:
>> The GHC team is pleased to announce the availability of GHC 8.4.4
>
> Thank you
>
>> As always, the full release notes can be found in the users guide,
>
> https://downloads.haskell.org/~ghc/8.4.4/docs/html/users_guide/8.4.4-notes.html#base-library
>
> I think this base text is out of date, and could be dropped, right?
>
Indeed it is.

> I see that stm was also bumped: though it is not listed in
> https://downloads.haskell.org/~ghc/8.4.4/docs/html/users_guide/8.4.4-notes.html#included-libraries
>
Also true. However, in my mind this isn't nearly as significant as the
`text` bump, which affects many users and fixes extremely bad
misbehavior.

Thanks for noticing these!

Cheers

- Ben


signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


[ANNOUNCE] GHC 8.4.4 released

2018-10-14 Thread Ben Gamari
Hello everyone,
The GHC team is pleased to announce the availability of GHC 8.4.4, a
patch-level release in the 8.4 series. The source distribution, binary
distributions, and documentation for this release are available at

https://downloads.haskell.org/~ghc/8.4.4

This release fixes several bugs present in 8.4.3 These include,

  - A bug which could result in memory unsafety with certain uses of
`touch#` has been resolved. (#14346)

  - A compiler panic triggered by some GADT record updates has been
fixed (#15499)

  - The `text` library has been updated, fixing several serious bugs in
the version shipped with GHC 8.4.3 (see `text` issues #227, #221,
and #197.

  - A serious code generation bug in the LLVM code generation,
potentially resulting in incorrect evaluation of floating point
expressions, has been fixed (#14251)

As always, the full release notes can be found in the users guide,


https://downloads.haskell.org/~ghc/8.4.4/docs/html/users_guide/8.4.4-notes.html

Thanks to everyone who has contributed to developing, documenting, and
testing this release!

As always, let us know if you encounter trouble.

How to get it
~

The easy way is to go to the web page, which should be self-explanatory:

https://www.haskell.org/ghc/

We supply binary builds in the native package format for many
platforms, and the source distribution is available from the same
place.

Packages will appear as they are built - if the package for your
system isn't available yet, please try again later.

Background
~~

Haskell is a standard lazy functional programming language.

GHC is a state-of-the-art programming suite for Haskell.  Included is
an optimising compiler generating efficient code for a variety of
platforms, together with an interactive system for convenient, quick
development.  The distribution includes space and time profiling
facilities, a large collection of libraries, and support for various
language extensions, including concurrency, exceptions, and foreign
language interfaces. GHC is distributed under a BSD-style open source license.

A wide variety of Haskell related resources (tutorials, libraries,
specifications, documentation, compilers, interpreters, references,
contact information, links to research groups) are available from the
Haskell home page (see below).

On-line GHC-related resources
~~

Relevant URLs on the World-Wide Web:

GHC home page  https://www.haskell.org/ghc/
GHC developers' home page  https://ghc.haskell.org/trac/ghc/
Haskell home page  https://www.haskell.org/

Supported Platforms
~~~

The list of platforms we support, and the people responsible for them,
is here:

   https://ghc.haskell.org/trac/ghc/wiki/Contributors

Ports to other platforms are possible with varying degrees of
difficulty.  The Building Guide describes how to go about porting to a
new platform:

https://ghc.haskell.org/trac/ghc/wiki/Building

Developers
~~

We welcome new contributors.  Instructions on accessing our source
code repository, and getting started with hacking on GHC, are
available from the GHC's developer's site run by Trac:

  https://ghc.haskell.org/trac/ghc/

Mailing lists
~

We run mailing lists for GHC users and bug reports; to subscribe, use
the web interfaces at

https://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users
https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets

There are several other haskell and ghc-related mailing lists on
www.haskell.org; for the full list, see

https://mail.haskell.org/cgi-bin/mailman/listinfo

Some GHC developers hang out on #haskell on IRC, too:

https://www.haskell.org/haskellwiki/IRC_channel

Please report bugs using our bug tracking system.  Instructions on
reporting bugs can be found here:



signature.asc
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


Re: [ANNOUNCE] GHC 8.6.1 released

2018-09-24 Thread Ben Gamari


On September 24, 2018 2:09:13 AM CDT, Jens Petersen  
wrote:
>I have built 8.6.1 for Fedora 27, 28, 29, Rawhide, and EPEL7 in:
>
>https://copr.fedorainfracloud.org/coprs/petersen/ghc-8.6.1/
>
>The repo also includes latest cabal-install.
>
Thanks Jens! This is a very helpful service. 

Cheers, 

- Ben 


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users


  1   2   3   >