| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: ghc-base-compat | Distribution: openSUSE Tumbleweed |
| Version: 0.11.2 | Vendor: openSUSE |
| Release: 2.6 | Build date: Fri May 28 12:38:23 2021 |
| Group: Unspecified | Build host: armbuild22 |
| Size: 104944 | Source RPM: ghc-base-compat-0.11.2-2.6.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://hackage.haskell.org/package/base-compat | |
| Summary: A compatibility layer for base | |
Provides functions available in later versions of 'base' to a wider range of compilers, without requiring you to use CPP pragmas in your code. See the <https://github.com/haskell-compat/base-compat/blob/master/base-compat/README.markdown README> for what is covered. Also see the <https://github.com/haskell-compat/base-compat/blob/master/base-compat/CHANGES.markdown changelog> for recent changes. Note that 'base-compat' does not add any orphan instances. There is a separate package, '<http://hackage.haskell.org/package/base-orphans base-orphans>', for that. In addition, 'base-compat' does not backport any data types or type classes. See '<https://github.com/haskell-compat/base-compat/blob/master/base-compat/README.markdown#data-types-and-type-classes this section of the README>' for more info. 'base-compat' is designed to have zero dependencies. For a version of 'base-compat' that depends on compatibility libraries for a wider support window, see the '<http://hackage.haskell.org/package/base-compat-batteries base-compat-batteries>' package. Most of the modules in this library have the same names as in 'base-compat-batteries' to make it easier to switch between the two. There also exist versions of each module with the suffix '.Repl', which are distinct from anything in 'base-compat-batteries', to allow for easier use in GHCi.
MIT
* Thu Dec 17 2020 Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
* Tue Oct 06 2020 psimons@suse.com
- Update base-compat to version 0.11.2.
[#]# Changes in 0.11.2 [2020.09.30]
- Sync with `base-4.15`/GHC 9.0
- Backport `singleton` to `Data.List` and `Data.List.NonEmpty`
- Backport `hGetContents'`, `getContents'`, and `readFile'` added to `System.IO`
* Tue Aug 18 2020 Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
* Tue Jun 16 2020 Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
* Tue Jan 28 2020 psimons@suse.com
- Update base-compat to version 0.11.1.
[#]# Changes in 0.11.1 [2020.01.27]
- Sync with `base-4.14`/GHC 8.10
- Backport `isResourceVanishedError`, `resourceVanishedErrorType`, and
`isResourceVanishedErrorType` to `System.IO.Error.Compat`.
* Sun Dec 29 2019 psimons@suse.com
- Update base-compat to version 0.11.0.
[#]# Changes in 0.11.0 [2019.09.06]
- Sync with `base-4.13`/GHC 8.8
- Backport `MonadFail(fail)` to `Prelude.Compat` and `Control.Monad.Compat`.
Because `Prelude.Compat.fail` now corresponds to the `fail` from `MonadFail`
instead of `Monad`, some care is required to implement `Monad.fail` on
pre-8.8 versions of GHC. The following template is recommended:
```haskell
import Prelude.Compat
import qualified Control.Monad as Monad
import qualified Control.Monad.Fail as Fail
data Blah a = ...
instance Functor Blah where ...
instance Applicative Blah where ...
instance Monad.Monad Blah where
(>>=) = ...
[#]if !(MIN_VERSION_base(4,13,0))
fail = Fail.fail
[#]endif
instance Fail.MonadFail Blah where
fail = ...
```
This approach is also backwards-compatible with previous releases of
`base-compat`.
Note that the `MonadFail` class has only been in `base` since
`base-4.9`/GHC 8.0, so accordingly, this can only be backported back
to GHC 8.0. If you wish to have a version of
`Prelude.Compat`/`Control.Monad.Compat` that backports
`MonadFail` to older GHCs (by conditionally depending on the `fail`
library), use the `Prelude.Compat`/`Control.Monad.Compat` modules from the
`base-compat-batteries` package.
- Introduce the `Data.Type.Equality.Compat` module, which re-exports
`Data.Type.Equality` if using `base-4.7`/GHC-7.8 or later. If using an older
version of `base`, this module is empty.
If you wish to have a version of
`Data.Type.Equality.Compat` with older GHCs
(by conditionally depending on the `type-equality` library),
use the `Data.Type.Equality.Compat` module from the
`base-compat-batteries` package.
* Fri Nov 08 2019 Peter Simons <psimons@suse.com>
- Drop obsolete group attributes.
* Fri Oct 19 2018 psimons@suse.com
- Update base-compat to version 0.10.5.
[#]# Changes in 0.10.5 [2018.10.18]
- Enable `BangPatterns` in `Prelude.Compat`.
* Wed Jul 18 2018 psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
* Tue Jul 17 2018 psimons@suse.com
- Update base-compat to version 0.10.4.
[#]# Changes in 0.10.4 [2018.07.03]
- Make more modules `Trustworthy`. In particular, fix a regression in which
`Prelude.Compat` was inferred as `Unsafe` by explicitly marking it as
`Trustwothy`.
[#]# Changes in 0.10.3 [2018.07.02]
- Backport the proper fixity for `($!)`, which was accidentally omitted in
`base-compat-0.10.2`.
[#]# Changes in 0.10.2 [2018.07.02]
- Sync with `base-4.12`/GHC 8.6
- Backport `RuntimeRep`-polymorphic versions of `($!)` and `throw` to
`Prelude.Compat` and `Control.Exception.Compat`, respectively
(if using `base-4.10`/GHC 8.2 or later).
- Introduce the `Data.Functor.Contravariant.Compat` module, which reexports
`Data.Functor.Contravariant` if using `base-4.12`/GHC 8.6 or later.
See `Data.Functor.Contravariant.Compat` in the corresponding
`base-compat-batteries` release for a version with a wider support window.
[#]# Changes in 0.10.1 [2018.04.10]
- Add `Data.List.NonEmpty.Compat`.
- Reexport `(Data.Semigroup.<>)` from `Data.Monoid.Compat` back to `base-4.9`.
[#]# Changes in 0.10.0 [2018.04.05]
- Sync with `base-4.11`/GHC 8.4
- Backport `Semigroup((<>))` to `Prelude.Compat`.
Note that the `Semigroup` class has only been in `base` since
`base-4.9`/GHC 8.0, so accordingly, this can only be backported back
to GHC 8.0. If you wish to have a version of `Prelude.Compat` that backports
`Semigroup` to older GHCs (by conditionally depending on the `semigroups`
library), use the `Prelude.Compat` module from the `base-compat-batteries`
package.
- Backport `(<&>)` to `Data.Functor.Compat`
- Backport `iterate'` to `Data.List.Compat`
- Backport `showHFloat` to `Numeric.Compat`
- Backport a `RuntimeRep`-polymorphic `withTypeable` function to
`Type.Reflection.Compat`. (This is only exported on `base-4.10`/GHC 8.2.)
- Introduce the following modules, back until the oldest version of `base`
that can support backporting them. If you wish to use them in conjunction
with older versions of `base`, use the `base-compat-batteries` package.
- `Control.Monad.Fail.Compat` (back until `base-4.9`/GHC 8.0)
- `Control.Monad.IO.Class.Compat` (back until `base-4.9`/GHC 8.0)
- `Data.Bifunctor` (back until `base-4.8`/GHC 7.10)
- `Data.Bifoldable` and `Data.Bitraversable` (back until `base-4.10`/GHC 8.2)
- `Data.Functor.Compose.Compat`, `Data.Functor.Product.Compat`, and
`Data.Functor.Sum.Compat` (back until `base-4.9`/GHC 8.0)
- `Data.Functor.Identity.Compat` (back until `base-4.8`/GHC 7.10)
- `Data.Semigroup.Compat` (back until `base-4.9`/GHC 8.0)
- `Data.Void.Compat` (back until `base-4.8`/GHC 7.10)
- `Numeric.Natural.Compat` (back until `base-4.8`/GHC 7.10)
- Introduce versions of modules with the suffix `.Repl`. These simply reexport
the contents of their counterparts without the `.Repl` suffix to provide
a globally unique namespace to import from in the event one wants to import
`base-compat` modules into GHCi. (In `base-compat-batteries`, the
corresponding suffix is `.Repl.Batteries`.)
* Wed May 16 2018 psimons@suse.com
- Prefer the new %license attribute over %doc.
/usr/lib/ghc-8.10.4/base-compat-0.11.2 /usr/lib/ghc-8.10.4/base-compat-0.11.2/libHSbase-compat-0.11.2-JggHr2fdYLe83DSFk1MYK3-ghc8.10.4.so /usr/share/licenses/ghc-base-compat /usr/share/licenses/ghc-base-compat/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Oct 24 23:22:36 2025