incipit-core: A Prelude for Polysemy

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

Modules

[Index] [Quick Jump]

  • 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.IO
      • Data.Text.Read
    • Data.Tree
  • Incipit
  • Prelude

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, 0.6.1.0 (info)
Change log changelog.md
Dependencies base (>=4 && <5), incipit-base (==0.1.0.3), polysemy (>=1.6) [details]
License BSD-2-Clause-Patent
Copyright 2022 Torsten Schmits
Author Torsten Schmits
Maintainer haskell@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 2022-02-24T15:41:21Z
Distributions LTSHaskell:0.5.1.0, NixOS:0.5.1.0, Stackage:0.6.1.0
Reverse Dependencies 10 direct, 23 indirect [details]
Downloads 1287 total (100 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-core-0.1.0.3

[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. For a more comprehensive variant that includes some basic libraries, consider incipit.

Usage

incipit-core 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-core >= 0.1.0.3

For cabal:

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

Custom Prelude

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

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

import Incipit

projectName :: Text
projectName =
  "spaceship"