packages feed

incipit 0.2.1.0 → 0.3.0.0

raw patch · 5 files changed

+13/−101 lines, 5 filesdep ~basedep ~incipit-coredep ~polysemy-concPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, incipit-core, polysemy-conc, polysemy-log, polysemy-resume, polysemy-time

API changes (from Hackage documentation)

Files

− changelog.md
@@ -1,6 +0,0 @@-# Unreleased--# 0.2.1.0--* Add `Incipit.Full` to allow extending it in multi-package projects that may run programs like `ghcid` that don't-  consult Cabal files
incipit.cabal view
@@ -5,21 +5,18 @@ -- see: https://github.com/sol/hpack  name:           incipit-version:        0.2.1.0+version:        0.3.0.0 synopsis:       A Prelude for Polysemy-description:    See <https://hackage.haskell.org/package/incipit/docs/Prelude.html>+description:    See https://hackage.haskell.org/package/incipit/docs/Incipit.html category:       Prelude homepage:       https://github.com/tek/incipit#readme bug-reports:    https://github.com/tek/incipit/issues author:         Torsten Schmits-maintainer:     haskell@tryp.io+maintainer:     hackage@tryp.io copyright:      2022 Torsten Schmits license:        BSD-2-Clause-Patent license-file:   LICENSE build-type:     Simple-extra-source-files:-    readme.md-    changelog.md  source-repository head   type: git@@ -31,7 +28,6 @@       Incipit       Incipit.Full       Log-      Prelude       Queue       Sync       Time@@ -85,6 +81,7 @@       DeriveFoldable       DeriveFunctor       DeriveGeneric+      DeriveLift       DeriveTraversable       DerivingStrategies       DerivingVia@@ -105,7 +102,6 @@       MultiParamTypeClasses       MultiWayIf       NamedFieldPuns-      NoImplicitPrelude       OverloadedStrings       OverloadedLists       PackageImports@@ -118,6 +114,7 @@       RankNTypes       RecordWildCards       RecursiveDo+      RoleAnnotations       ScopedTypeVariables       StandaloneDeriving       TemplateHaskell@@ -130,18 +127,12 @@       UndecidableInstances       UnicodeSyntax       ViewPatterns-  ghc-options: -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wmissing-deriving-strategies -Widentities+  ghc-options: -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wmissing-deriving-strategies -Widentities -Wunused-packages   build-depends:-      base ==4.*-    , incipit-core ==0.2.0.0-    , polysemy-conc >=0.7-    , polysemy-log >=0.6.0.1-    , polysemy-resume >=0.4-    , polysemy-time >=0.4-  mixins:-      base hiding (Prelude)-    , incipit-core hiding (Prelude, Incipit)-    , incipit-core (Incipit as IncipitCore)-  if impl(ghc >= 8.10)-    ghc-options: -Wunused-packages+      base >=4.13 && <4.17+    , incipit-core >=0.3+    , polysemy-conc >=0.9+    , polysemy-log >=0.7+    , polysemy-resume >=0.5+    , polysemy-time >=0.5   default-language: Haskell2010
lib/Incipit.hs view
@@ -1,4 +1,4 @@--- |A Prelude for Polysemy projects, reexporting names and modules from several basic libraries.+-- |A Prelude for Polysemy projects, reexporting names and modules from several basic Polysemy libraries. module Incipit (   module Incipit.Full, ) where
− lib/Prelude.hs
@@ -1,6 +0,0 @@--- |A Prelude for Polysemy projects, reexporting names and modules from several basic libraries.-module Prelude (-  module Incipit-) where--import Incipit
− readme.md
@@ -1,67 +0,0 @@-# 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:--* [polysemy-conc](https://hackage.haskell.org/package/polysemy-conc)-* [polysemy-time](https://hackage.haskell.org/package/polysemy-log)-* [polysemy-log](https://hackage.haskell.org/package/polysemy-time)-* [polysemy-resume](https://hackage.haskell.org/package/polysemy-resume)--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`:-```yaml-dependencies:-  - name: base-    version: '>= 4 && < 5'-    mixin:-      - hiding (Prelude)-  - incipit >= 0.1-```--For `cabal`:-```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:--```yaml-dependencies:-  - name: base-    version: '>= 4 && < 5'-    mixin:-      - hiding (Prelude)-  - name: incipit-    version: >= 0.1-    mixin:-      - hiding (Prelude)-```--```haskell-module Prelude (-  module Prelude,-  module Incipit,-) where--import Incipit--projectName :: Text-projectName =-  "spaceship"-```--[incipit-base]: https://hackage.haskell.org/package/incipit-base-[incipit-core]: https://hackage.haskell.org/package/incipit-core-[Polysemy]: https://hackage.haskell.org/package/polysemy