incipit: A Prelude for Polysemy

[ library, prelude ] [ Propose Tags ]

Modules

[Index] [Quick Jump]

  • Conc
  • Control
    • Concurrent
      • Control.Concurrent.STM
        • Control.Concurrent.STM.TArray
        • Control.Concurrent.STM.TBQueue
        • Control.Concurrent.STM.TChan
        • Control.Concurrent.STM.TMVar
        • Control.Concurrent.STM.TQueue
        • Control.Concurrent.STM.TSem
        • Control.Concurrent.STM.TVar
    • Monad
      • Control.Monad.STM
  • Data
    • Data.ByteString
      • Data.ByteString.Builder
      • Data.ByteString.Lazy
      • Data.ByteString.Short
    • IntMap
      • Data.IntMap.Lazy
      • Data.IntMap.Strict
    • Data.IntSet
    • Map
      • Data.Map.Lazy
      • Data.Map.Strict
    • Data.Sequence
    • Data.Set
    • Data.Text
      • Data.Text.IO
      • Data.Text.Lazy
        • Data.Text.Lazy.Builder
        • Data.Text.Lazy.IO
      • Data.Text.Read
    • Data.Tree
  • Gate
  • Incipit
  • Log
  • Polysemy
    • Polysemy.Conc
      • Polysemy.Conc.Queue
      • Polysemy.Conc.Sync
    • Polysemy.Log
    • Polysemy.Resume
    • Polysemy.Time
  • Queue
  • Sync
  • Time

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.2.0.0, 0.2.1.0, 0.3.0.0, 0.3.1.0, 0.4.0.0, 0.5.0.0, 0.6.0.0, 0.6.1.0, 0.7.0.0, 0.8.0.0, 0.9.0.0, 0.9.0.1, 0.10.0.0 (info)
Change log changelog.md
Dependencies base (>=4.13 && <4.19), incipit-core (>=0.5 && <0.6), polysemy-conc (>=0.12 && <0.14), polysemy-log (>=0.9 && <0.11), polysemy-resume (>=0.7 && <0.9), polysemy-time (>=0.6 && <0.7) [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#readme
Bug tracker https://github.com/tek/incipit/issues
Source repo head: git clone https://github.com/tek/incipit
Uploaded by tek at 2023-09-18T14:38:48Z
Distributions
Reverse Dependencies 4 direct, 16 indirect [details]
Downloads 903 total (43 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-0.9.0.0

[back to package description]

About

This library provides a Prelude for Polysemy libraries, building upon incipit-base and exporting most of Polysemy's core modules as well as a number of basic libraries:

For a minimal variant that only exports Polysemy, consider incipit-core.

Usage

incipit exports Prelude, so in order to use it you only have to hide Prelude from base:

For hpack:

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

For cabal:

build-depends:
    base >=4 && <5, incipit >= 0.1
mixins:
    base hiding (Prelude)

Custom Prelude

In order to extend incipit with a local Prelude, the module Incipit has to be reexported and incipit's Prelude needs to be hidden:

dependencies:
  - name: base
    version: '>= 4 && < 5'
    mixin:
      - hiding (Prelude)
  - name: incipit
    version: >= 0.1
    mixin:
      - hiding (Prelude)
module Prelude (
  module Prelude,
  module Incipit,
) where

import Incipit

projectName :: Text
projectName =
  "spaceship"