prelate 0.7.0.1 → 0.8.0.0
raw patch · 2 files changed
+27/−20 lines, 2 filesdep ~aesondep ~basedep ~exonPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson, base, exon, extra, generic-lens, incipit, microlens, microlens-ghc, polysemy-chronos, polysemy-conc, polysemy-log, polysemy-process, polysemy-resume, polysemy-time, template-haskell
API changes (from Hackage documentation)
+ Prelate.Prelude: _Show :: (Show a, Read a) => Traversal' String a
+ Prelate.Prelude: lined :: Traversal' String String
+ Prelate.Prelude: type (a :: k1 -> k2 -> Type) @@ (b :: k) = Tagged b a
+ Prelate.Prelude: worded :: Traversal' String String
- Prelate.App: exitErrorMessage :: ExitErrorMessage err => err -> Sem r Text
+ Prelate.App: exitErrorMessage :: forall (r :: EffectRow). ExitErrorMessage err => err -> Sem r Text
- Prelate.App: resumeExit :: forall err eff r. ExitErrorMessage err => Members [eff !! err, Error Text] r => InterpreterFor eff r
+ Prelate.App: resumeExit :: forall err (eff :: (Type -> Type) -> Type -> Type) (r :: EffectRow). (ExitErrorMessage err, Members '[eff !! err, Error Text :: (Type -> Type) -> Type -> Type] r) => InterpreterFor eff r
- Prelate.App: type AppStack = [ChronosTime, Log, Interrupt, Critical, Error Text] ++ ConcStack
+ Prelate.App: type AppStack = '[ChronosTime, Log, Interrupt, Critical, Error Text :: Type -> Type -> Type -> Type] ++ ConcStack
- Prelate.Atomic: atomicSet :: Member (AtomicState s) r => Lens' s a -> a -> Sem r ()
+ Prelate.Atomic: atomicSet :: forall s (r :: EffectRow) a. Member (AtomicState s :: (Type -> Type) -> Type -> Type) r => Lens' s a -> a -> Sem r ()
- Prelate.Atomic: atomicView :: Member (AtomicState s) r => Lens' s a -> Sem r a
+ Prelate.Atomic: atomicView :: forall s (r :: EffectRow) a. Member (AtomicState s :: (Type -> Type) -> Type -> Type) r => Lens' s a -> Sem r a
- Prelate.Prelude: class () => FromJSON a
+ Prelate.Prelude: class FromJSON a
- Prelate.Prelude: class () => ToJSON a
+ Prelate.Prelude: class ToJSON a
Files
- lib/Prelate/App.hs +8/−2
- prelate.cabal +19/−18
lib/Prelate/App.hs view
@@ -1,4 +1,4 @@-{-# language NoImplicitPrelude #-}+{-# language NoImplicitPrelude, CPP #-} {-# options_haddock prune #-} module Prelate.App (@@ -11,13 +11,19 @@ ExitErrorMessage (exitErrorMessage), ) where -import Conc (ConcStack, Critical, interpretCritical, interpretInterrupt)+import Conc (ConcStack, Critical, interpretCritical) import qualified Data.Text.IO as Text import Incipit import Log (Severity (Info), interpretLogStderrLevelConc) import Polysemy.Chronos (ChronosTime, interpretTimeChronos) import System.Exit (exitFailure) import System.IO (stderr)++#if MIN_VERSION_polysemy_conc(0,14,0)+import Polysemy.Process (Interrupt, interpretInterrupt)+#else+import Conc (interpretInterrupt)+#endif -- | The default stack for a Prelate app. type AppStack =
prelate.cabal view
@@ -1,11 +1,11 @@ cabal-version: 2.2 --- This file has been generated from package.yaml by hpack version 0.35.2.+-- This file has been generated from package.yaml by hpack version 0.36.1. -- -- see: https://github.com/sol/hpack name: prelate-version: 0.7.0.1+version: 0.8.0.0 synopsis: A Prelude description: See https://hackage.haskell.org/package/prelate/docs/Prelate.html category: Prelude@@ -13,7 +13,7 @@ bug-reports: https://github.com/tek/prelate/issues author: Torsten Schmits maintainer: hackage@tryp.io-copyright: 2023 Torsten Schmits+copyright: 2025 Torsten Schmits license: BSD-2-Clause-Patent license-file: LICENSE build-type: Simple@@ -102,6 +102,7 @@ GADTs LambdaCase LiberalTypeSynonyms+ MonadComprehensions MultiWayIf OverloadedLabels OverloadedLists@@ -124,19 +125,19 @@ NoFieldSelectors ghc-options: -Wall -Widentities -Wincomplete-uni-patterns -Wmissing-deriving-strategies -Wredundant-constraints -Wunused-type-patterns -Wunused-packages build-depends:- aeson >=2.0- , base >=4.13 && <4.19- , exon >=1.4 && <1.6- , extra >=1.7.10 && <1.8- , generic-lens >=2.2- , incipit >=0.8 && <0.10- , microlens ==0.4.*- , microlens-ghc ==0.4.*- , polysemy-chronos ==0.6.*- , polysemy-conc >=0.12 && <0.14- , polysemy-log >=0.9 && <0.11- , polysemy-process >=0.12 && <0.14- , polysemy-resume >=0.7 && <0.9- , polysemy-time ==0.6.*- , template-haskell+ aeson >=2.1.0.0 && <2.3+ , base >=4.17.2.1 && <4.21+ , exon >=1.4.0.0 && <1.8+ , extra >=1.7.9 && <1.9+ , generic-lens >=2.2.1.0 && <2.3+ , incipit >=0.7.0.0 && <0.11+ , microlens >=0.4.12.0 && <0.5+ , microlens-ghc >=0.4.13.1 && <0.5+ , polysemy-chronos >=0.5.0.0 && <0.8+ , polysemy-conc >=0.12.1.0 && <0.15+ , polysemy-log >=0.9.0.0 && <0.12+ , polysemy-process >=0.12.0.0 && <0.15+ , polysemy-resume >=0.7.0.0 && <0.10+ , polysemy-time >=0.6.0.0 && <0.8+ , template-haskell >=2.19.0.0 && <2.23 default-language: GHC2021