incipit-base: A Prelude for Polysemy – Base Reexports

[ library, prelude ] [ Propose Tags ]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,, (info)
Change log
Dependencies base (>=4.13 && <4.20), bytestring, containers, data-default (>=0.7 && <0.8), stm, text [details]
License BSD-2-Clause-Patent
Copyright 2023 Torsten Schmits
Author Torsten Schmits
Revised Revision 1 made by tek at 2023-12-29T14:28:28Z
Category Prelude
Home page
Bug tracker
Source repo head: git clone
Uploaded by tek at 2023-04-06T16:00:02Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 4 direct, 32 indirect [details]
Downloads 866 total (29 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for incipit-base-

[back to package description]


This library is part of incipit, a set of Prelude modules for the Polysemy ecosystem. It contains the reexports from base that are inherited by the other two packages.


Using a custom Prelude requires the use of Cabal mixins to hide the module from base and replace it with IncipitBase:

For hpack:

  - name: base
    version: '>= 4 && < 5'
      - hiding (Prelude)
  - name: incipit-base
    version: '>= 0.3'
      - (IncipitBase as Prelude)
      - hiding (IncipitBase)

For cabal:

    base >=4 && <5, incipit-base >= 0.3
    base hiding (Prelude), incipit-base (IncipitBase as Prelude), incipit-base hiding (IncipitBase)

incipit-base used to export Prelude, but stack can't deal with that.