Skip to content

Support of old GHC #541

@Shimuuar

Description

@Shimuuar

Below is list of things we do to support old GHCs and what could we do if raise minimum supported version. This is not a call to action but information to aid decision making.

  • GHC 8.2:
    • First version shipped with deepseq-1.4.3.0. We could drop support for deepseq<1.4.3
  • GHC 8.6 (base-4.12):
    • Has support for DerivingVia. We could replace a lot of CPP for deriving Unboxed vectors with DerivingVia
  • GHC 8.8 (base-4.13):
    • Drop CPP around MonadFail/fail
    • Type application in rewrite rules is supported: "unstreamM[ST]" forall s. forall. unstreamM @(ST s) = unstreamPrimM
  • GHC 9.0
    • conditional compilation around unsafeWithForeignPtr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions