Overview

Request 1089299 superseded

- Update base-compat to version 0.13.0.
## Changes in 0.13.0 [2023.03.10]
- Sync with `base-4.18`/GHC 9.6
- Backport `liftA2` being re-exported from `Prelude.Compat`.
- `Data.Tuple.Compat`'s `Solo` API now matches what is present in `Data.Tuple`
in `base-4.18`. In particular, we now re-export both the `MkSolo` and `Solo`
data constructors when building with `ghc-prim-0.10.0` or later, with
`MkSolo` being preferred over `Solo`. If you want to backport `MkSolo` to
earlier versions of GHC, import `Data.Tuple.Compat` from
`base-compat-batteries` instead.
- Backport `traceWith`, `traceShowWith`, and `traceEventWith` to `Debug.Trace`.
Note that `traceEventWith` is only provided when building with `base-4.5` or
later, as that is the first version of `base` to provide the `traceEvent`
primitive on which `traceEventWith` is defined.
- Backport `inits1` and `tails1` to `Data.List.NonEmpty.Compat`.
- Backport `minusNaturalMaybe` to `Numeric.Natural.Compat`.
- Backport `applyWhen` to `Data.Function.Compat`.
- Backport `mapAccumM` and `forAccumM` to `Data.Traversable.Compat`.
- Backport `heqT` to `Data.Typeable.Compat`. Note that `heqT` is only defined
when building with `base-4.10` or later, as that is the first version of
`base` to provide the primitives needed to define `heqT`.
- Introduce `Data.Foldable1.Compat` and `Data.Bifoldable1.Compat` modules,
which correspond to changes made in `base-4.18.0.0`. You may consider using
`base-compat-batteries` instead if you want increase the range of `base`
versions that are supported.

Request History
Ondřej Súkup's avatar

mimi_vx created request

- Update base-compat to version 0.13.0.
## Changes in 0.13.0 [2023.03.10]
- Sync with `base-4.18`/GHC 9.6
- Backport `liftA2` being re-exported from `Prelude.Compat`.
- `Data.Tuple.Compat`'s `Solo` API now matches what is present in `Data.Tuple`
in `base-4.18`. In particular, we now re-export both the `MkSolo` and `Solo`
data constructors when building with `ghc-prim-0.10.0` or later, with
`MkSolo` being preferred over `Solo`. If you want to backport `MkSolo` to
earlier versions of GHC, import `Data.Tuple.Compat` from
`base-compat-batteries` instead.
- Backport `traceWith`, `traceShowWith`, and `traceEventWith` to `Debug.Trace`.
Note that `traceEventWith` is only provided when building with `base-4.5` or
later, as that is the first version of `base` to provide the `traceEvent`
primitive on which `traceEventWith` is defined.
- Backport `inits1` and `tails1` to `Data.List.NonEmpty.Compat`.
- Backport `minusNaturalMaybe` to `Numeric.Natural.Compat`.
- Backport `applyWhen` to `Data.Function.Compat`.
- Backport `mapAccumM` and `forAccumM` to `Data.Traversable.Compat`.
- Backport `heqT` to `Data.Typeable.Compat`. Note that `heqT` is only defined
when building with `base-4.10` or later, as that is the first version of
`base` to provide the primitives needed to define `heqT`.
- Introduce `Data.Foldable1.Compat` and `Data.Bifoldable1.Compat` modules,
which correspond to changes made in `base-4.18.0.0`. You may consider using
`base-compat-batteries` instead if you want increase the range of `base`
versions that are supported.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot added openSUSE:Factory:Staging:adi:20 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:20"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:20"


Jan Engelhardt's avatar

jengelh accepted review


Dominique Leuenberger's avatar

dimstar_suse added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Unstaged from project "openSUSE:Factory:Staging:adi:20"


Dominique Leuenberger's avatar

dimstar_suse added openSUSE:Factory:Staging:adi:1 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:1"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:1"


Dominique Leuenberger's avatar

dimstar_suse added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Unstaged from project "openSUSE:Factory:Staging:adi:1"


Dominique Leuenberger's avatar

dimstar_suse added openSUSE:Factory:Staging:adi:1 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:1"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:1"


Peter Simons's avatar

psimons superseded request

superseded by 1094420

openSUSE Build Service is sponsored by