# GHC 9.8.1-alpha1 is now available

**URL:** <https://discourse.haskell.org/t/ghc-9-8-1-alpha1-is-now-available/7137>\
**Category:** Uncategorized\
**Created:** [July 28, 2023, 10:03pm UTC](https://discourse.haskell.org/t/ghc-9-8-1-alpha1-is-now-available/7137 "2023-07-28T22:03:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgamari](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/bgamari/32/3599_2.png) [@bgamari](https://discourse.haskell.org/u/bgamari)\
**Post date:** [July 28, 2023, 10:03pm UTC](https://discourse.haskell.org/t/ghc-9-8-1-alpha1-is-now-available/7137/1 "2023-07-28T22:03:04Z")

</div>

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 [downloads.haskell.org](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 [`TypeAbstractions` language extension](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0425-decl-invis-binders.rst),  
allowing types to be bound in type declarations.

- Support for the [`ExtendedLiterals`](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0451-sized-literals.rst) extension, providing syntax for  
non-word-sized numeric literals in the surface language

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

- Better support for user-defined warnings by way of the [`WARNING` pragma](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0541-warning-pragmas-with-categories.rst)

- The introduction of the new [`GHC.TypeError.Unsatisfiable`](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0433-unsatisfiable.rst)  
constraint, allowing more predictable user-defined type errors

- Implementation of the [export deprecation proposal](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0134-deprecating-exports-proposal.rst), allowing module  
exports to be marked with `DEPRECATE` pragmas

- The addition of [build semaphore support](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0540-jsem.rst) for parallel compilation;  
with coming support in `cabal-install` this will allow better use of  
parallelism in multi-package builds

- 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](https://downloads.haskell.org/ghc/9.8.1-alpha1/docs/users_guide/9.8.1-notes.html).

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](https://gitlab.haskell.org/ghc/ghc/-/issues/new) if you see  
anything amiss.

---

<div class="post-metadata">

**Author:** ![jaror](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/jaror/32/3271_2.png) [@jaror](https://discourse.haskell.org/u/jaror)\
**Post date:** [July 28, 2023, 10:29pm UTC](https://discourse.haskell.org/t/ghc-9-8-1-alpha1-is-now-available/7137/2 "2023-07-28T22:29:28Z")

</div>

> [@bgamari](#):
>
> Improved rewrite rule matching behavior, allowing limited matching of  
> higher-order patterns

Yay, that’s my first significant contribution! I think the best description is in the GHC proposal: [ghc-proposals/proposals/0555-template-patterns.rst at master · ghc-proposals/ghc-proposals · GitHub](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0555-template-patterns.rst)

---

<div class="post-metadata">

**Author:** ![heneli](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/heneli/32/3505_2.png) [@heneli](https://discourse.haskell.org/u/heneli)\
**Post date:** [July 28, 2023, 11:09pm UTC](https://discourse.haskell.org/t/ghc-9-8-1-alpha1-is-now-available/7137/3 "2023-07-28T23:09:11Z")

</div>

I’d love to see anti-instances with `Unsatisfiable` catch on everywhere. I can imagine them being especially useful as documentation

edit: Esp nice pairing them with property-based doctests asserting on laws they don’t meet

---

<div class="post-metadata">

**Author:** ![Kleidukos](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/kleidukos/32/1213_2.png) [@Kleidukos](https://discourse.haskell.org/u/Kleidukos)\
**Post date:** [July 29, 2023, 8:38am UTC](https://discourse.haskell.org/t/ghc-9-8-1-alpha1-is-now-available/7137/4 "2023-07-29T08:38:50Z")

</div>

Congratulations to the GHC release team!

---

<div class="post-metadata">

**Author:** ![artem](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/artem/32/56_2.png) [@artem](https://discourse.haskell.org/u/artem)\
**Post date:** [July 29, 2023, 12:47pm UTC](https://discourse.haskell.org/t/ghc-9-8-1-alpha1-is-now-available/7137/5 "2023-07-29T12:47:50Z")

</div>

> [@bgamari](#):
>
> Preliminary support the [`TypeApplications` language extension](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0425-decl-invis-binders.rst)

Looks like, the name of the extension is `TypeAbstractions`. Also,

> [@bgamari](#):
>
> [`ExtendedLiterals`][extended-liberals]

to not disappoint our conservative friends, better be fixed s/liberals/literals/ 😂

---

<div class="post-metadata">

**Author:** ![bgamari](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/bgamari/32/3599_2.png) [@bgamari](https://discourse.haskell.org/u/bgamari)\
**Post date:** [July 31, 2023, 6:47pm UTC](https://discourse.haskell.org/t/ghc-9-8-1-alpha1-is-now-available/7137/6 "2023-07-31T18:47:27Z")

</div>

Thanks for pointing these out!
