ghc-base-compat - A compatibility layer for base

Property Value
Distribution openSUSE Leap 15.1
Repository openSUSE Oss all
Package filename ghc-base-compat-0.10.5-lp151.1.2.x86_64.rpm
Package name ghc-base-compat
Package version 0.10.5
Package release lp151.1.2
Package architecture x86_64
Package type rpm
Category Development/Libraries/Haskell
License MIT
Maintainer -
Download size 27.99 KB
Installed size 109.92 KB
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
README> for what is covered. Also see the
changelog> for recent changes.
Note that 'base-compat' does not add any orphan instances. There is a separate
package, '< base-orphans>', for
In addition, 'base-compat' does not backport any data types or 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 '<
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.


Package Version Architecture Repository
ghc-base-compat - - -


Name Value - - - - - - - - - - - - - - - -


Name Value
ghc-base-compat = 0.10.5-lp151.1.2
ghc-base-compat(x86-64) = 0.10.5-lp151.1.2 -


Type URL
Binary Package ghc-base-compat-0.10.5-lp151.1.2.x86_64.rpm
Source Package ghc-base-compat-0.10.5-lp151.1.2.src.rpm

Install Howto

Install ghc-base-compat rpm package:

# zypper install ghc-base-compat




2018-10-19 -
- Update base-compat to version 0.10.5.
[#]# Changes in 0.10.5 [2018.10.18]
- Enable `BangPatterns` in `Prelude.Compat`.
2018-07-18 -
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
2018-07-17 -
- 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
[#]# Changes in 0.10.3 [2018.07.02]
- Backport the proper fixity for `($!)`, which was accidentally omitted in
[#]# 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`
- 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`.)
2018-05-16 -
- Prefer the new %license attribute over %doc.
2017-08-03 -
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
2017-04-19 -
- Update to version 0.9.3 with cabal2obs.
2017-03-27 -
- Update to version 0.9.2 with cabal2obs.
2016-07-10 -
- Update to version 0.9.1 revision 0 with cabal2obs.
2016-04-12 -
- update to 0.9.1
* Use the more efficient version of replicateM and replicateM_ introduced in base-4.9

See Also

Package Description
ghc-base-compat-devel-0.10.5-lp151.1.2.x86_64.rpm Haskell base-compat library development files
ghc-base-devel- Haskell base library development files
ghc-base-orphans-0.8-lp151.1.2.x86_64.rpm Backwards-compatible orphan instances for base
ghc-base-orphans-devel-0.8-lp151.1.2.x86_64.rpm Haskell base-orphans library development files
ghc-base-prelude-1.3-lp151.1.2.x86_64.rpm The most complete prelude formed solely from the "base" package
ghc-base-prelude-devel-1.3-lp151.1.2.x86_64.rpm Haskell base-prelude library development files
ghc-base16-bytestring- Fast base16 (hex) encoding and decoding for ByteStrings
ghc-base16-bytestring-devel- Haskell base16-bytestring library development files
ghc-base64-bytestring- Fast base64 encoding and decoding for ByteStrings
ghc-base64-bytestring-devel- Haskell base64-bytestring library development files
ghc-basement-0.0.10-lp151.1.2.x86_64.rpm Foundation scrap box of array & string
ghc-basement-devel-0.0.10-lp151.1.2.x86_64.rpm Haskell basement library development files
ghc-bento-0.1.0-lp151.2.5.x86_64.rpm Manage stateful components
ghc-bento-devel-0.1.0-lp151.2.5.x86_64.rpm Haskell bento library development files
ghc-bifunctors-5.5.3-lp151.1.2.x86_64.rpm Collection Haskell 98 bifunctors, bifoldables and bitraversables