@hackage incipit-base0.4.0.0
A Prelude for Polysemy – Base Reexports
Installation
Dependencies (6)
- base >=4.13 && <4.18
- bytestring
- containers
- data-default >=0.2
- stm
- text Show all…
Dependents (4)
@hackage/exon, @hackage/sqel, @hackage/incipit-core, @hackage/hix
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.