Skip to content

Deprecate Data.List.NonEmpty.unzip

Melanie Brown requested to merge wip/clc-86 into master

In accordance with the plan:

  • GHC 9.8: deprecate Data.List.NonEmpty.unzip with {-# DEPRECATED unzip "This function will be made monomorphic in GHC 9.14, consider switching to Data.Functor.unzip" #-}. The latter is already there.
  • GHC 9.10: no changes.
  • GHC 9.12: no changes.
  • GHC 9.14: change type signature of Data.List.NonEmpty.unzip to monomorphic unzip :: NonEmpty (a, b) -> (NonEmpty a, NonEmpty b) and remove the deprecation warning.

https://github.com/haskell/core-libraries-committee/issues/86

Merge request reports