incipit-base: A Prelude for Polysemy – Base Reexports

[ library, prelude ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Index] [Quick Jump]

Downloads

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

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, 0.6.1.0 (info)
Change log changelog.md
Dependencies base (>=4.16.4.0 && <4.21), bytestring (>=0.11.1.0 && <0.13), containers (>=0.6.3.1 && <0.8), data-default (>=0.2 && <0.9), stm (>=2.5.0.2 && <2.6), text (>=1.2.5.0 && <2.2) [details]
License BSD-2-Clause-Patent
Copyright 2023 Torsten Schmits
Author Torsten Schmits
Maintainer hackage@tryp.io
Revised Revision 1 made by tek at 2024-10-24T17:54:14Z
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 2024-10-12T00:07:17Z
Distributions LTSHaskell:0.5.1.0, NixOS:0.5.1.0, Stackage:0.6.1.0
Reverse Dependencies 4 direct, 33 indirect [details]
Downloads 1364 total (73 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.1.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.