incipit-base: A Prelude for Polysemy – Base Reexports

[ library, prelude ] [ Propose Tags ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.1.0, 0.5.0.0, 0.5.1.0, 0.6.0.0 (info)
Change log changelog.md
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
Maintainer hackage@tryp.io
Category Prelude
Home page https://github.com/tek/incipit-core#readme
Bug tracker https://github.com/tek/incipit-core/issues
Source repo head: git clone https://github.com/tek/incipit-core
Uploaded by tek at 2023-12-29T14:27:48Z
Distributions LTSHaskell:0.5.1.0, NixOS:0.5.1.0, Stackage:0.6.0.0
Reverse Dependencies 4 direct, 32 indirect [details]
Downloads 901 total (38 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-0.6.0.0

[back to package description]

About

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.

Usage

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

For hpack:

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

For cabal:

build-depends:
    base >=4 && <5, incipit-base >= 0.3
mixins:
    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.