./devel/hs-base-compat, Compatibility layer for base

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.13.1nb1, Package name: hs-base-compat-0.13.1nb1, Maintainer: pho

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 that.

In addition, base-compat does not backport any data types or type
classes. See 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.


Required to run:
[lang/ghc88]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 40.545 KB

Version history: (Expand)


CVS history: (Expand)


   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-27 06:57:03 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-base-compat: Update to 0.13.1

Changes in 0.13.1 [2023.10.11]
* Sync with base-4.19/GHC 9.8
* Backport unzip to Data.Functor.Compat
* Backport (!?) and unsnoc to Data.List.Compat
* Backport getSolo to Data.Tuple.Compat when building against
  ghc-prim-0.8.0 (GHC 9.2) or later. To backport getSolo to older versions
  of GHC, import Data.Tuple.Compat from base-compat-batteries instead.
* Backport decT and hdecT to Data.Typeable.Compat
* Backport decTypeRep to Type.Reflection.Compat

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.

Changes in 0.12.3 [2023.07.12]
* This coincides with the base-compat-batteries-0.12.3 release. Refer to
  the base-compat-batteries changelog for more details.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-25 10:32:19 by Masatake Daimon | Files touched by this commit (1)
Log message:
devel/hs-base-compat: Update BUILDLINK_{API,ABI}_DEPENDS
   2022-08-18 20:21:15 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
hs-base-compat: update to 0.12.2.

## Changes in 0.12.2 [2022.08.11]
 - Sync with `base-4.17`/GHC 9.4
 - Backport `(.^.)`, `(.>>.)`, `(.<<.)`, `(!>>.)`, \ 
`(!<<.)`, `oneBits` to
   `Data.Bits.Compat`
 - Backport `pattern TypeRep` to `Type.Reflection.Compat`
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575)
Log message:
revbump after changing the default Haskell compiler
   2022-02-11 13:55:14 by Masatake Daimon | Files touched by this commit (4)
Log message:
Update to base-compat-0.12.1

Changes in 0.12.1 [2021.10.30]
* Backport Solo to Data.Tuple.Compat when building with ghc-prim-0.7.0 or
  later

Changes in 0.12.0 [2021.08.29]
* Sync with base-4.16/GHC 9.2
* Data.Semigroup.Compat{.Repl} no longer re-exports the Option data type or
  the option function, as both have been removed in base-4.16.
* Backport readBin and showBin to Numeric.Compat
* Backport readBinP to Text.Read.Lex.Compat