From Fedora Project Wiki


GHC 8.2

Summary

Update the Haskell GHC compiler from major version 8.0.2 to 8.2.2.

Owner

Current status

  • Targeted release: Fedora 28
  • Last updated: 2017-12-20
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

This change involves updating the GHC Haskell compiler in Fedora to the latest major version and rebuilding all the Haskell packages in Fedora with it.

GHC 8.2 bring a number of important performance improvements and new features, including improved DWARF support and support for the Backpack modular packaging system. There are more details the upstream release notes linked below.

Benefit to Fedora

Fedora users will have access to the latest stable version of GHC.


Scope

  • Proposal owners: rebuild updated Haskell packages in f28-ghc
 * we will base package versions off [LTS 10]
 * installation of shared libraries in common directory to speed up startup of executables
  • Other developers: None really, Haskell SIG can rebuild all packages as far as possible
  • Policies and guidelines: None planned, but will review
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

Upgrades will be supported and work: users will need to rebuild their own Haskell software with the new version of the compiler.

How To Test

  • dnf install ghc cabal-install alex happy pandoc hlint
  • dnf install @haskell
  • dnf install ghc-*-devel

User Experience

User will have the latest ghc compiler installed.

https://downloads.haskell.org/~ghc/8.2.2/docs/html/users_guide/8.2.1-notes.html#highlights

Dependencies

There should not be any non-Haskell dependencies

Contingency Plan

  • Contingency mechanism: Haskell SIG will revert to F27 ghc and packages
  • Contingency deadline: before Mass Rebuild
  • Blocks release? No

Documentation

Release Notes

The GHC Haskell Compiler has been upgraded to version 8.2.2, and all Haskell packages rebuilt and many updated.