incipit 0.2.0.0 → 0.2.1.0
raw patch · 4 files changed
+41/−28 lines, 4 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Incipit: class TimeUnit u
- Incipit: consume :: forall e (r :: EffectRow). Member (Consume e) r => Sem r e
- Incipit: data DataLog a (b :: Type -> Type) c
- Incipit: data Events resource e (a :: Type -> Type) b
- Incipit: data Interrupt (a :: Type -> Type) b
- Incipit: data Log (a :: Type -> Type) b
- Incipit: data Queue d (a :: Type -> Type) b
- Incipit: data QueueResult d
- Incipit: data Race (a :: Type -> Type) b
- Incipit: data Scoped resource (effect :: Effect) (a :: Type -> Type) b
- Incipit: data Sync d (a :: Type -> Type) b
- Incipit: data Time time date (a :: Type -> Type) b
- Incipit: publish :: forall e resource (r :: EffectRow). Member (Events resource e) r => e -> Sem r ()
- Incipit: runConc :: Sem ConcStack a -> IO a
- Incipit: scoped :: forall resource (effect :: Effect) (r :: EffectRow). Member (Scoped resource effect) r => InterpreterFor effect r
- Incipit: subscribe :: forall e resource (r :: EffectRow). Member (Scoped (EventResource resource) (Consume e)) r => InterpreterFor (Consume e) r
- Incipit: type EventConsumer token e = Scoped EventResource token Consume e
- Incipit: type Mask resource = Scoped MaskResource resource RestoreMask
- Incipit: type ScopedSync res a = Scoped SyncResources res Sync a
- Incipit: type UninterruptibleMask resource = Scoped UninterruptibleMaskResource resource RestoreMask
+ Incipit.Full: class TimeUnit u
+ Incipit.Full: consume :: forall e (r :: EffectRow). Member (Consume e) r => Sem r e
+ Incipit.Full: data DataLog a (b :: Type -> Type) c
+ Incipit.Full: data Events resource e (a :: Type -> Type) b
+ Incipit.Full: data Interrupt (a :: Type -> Type) b
+ Incipit.Full: data Log (a :: Type -> Type) b
+ Incipit.Full: data Queue d (a :: Type -> Type) b
+ Incipit.Full: data QueueResult d
+ Incipit.Full: data Race (a :: Type -> Type) b
+ Incipit.Full: data Scoped resource (effect :: Effect) (a :: Type -> Type) b
+ Incipit.Full: data Sync d (a :: Type -> Type) b
+ Incipit.Full: data Time time date (a :: Type -> Type) b
+ Incipit.Full: publish :: forall e resource (r :: EffectRow). Member (Events resource e) r => e -> Sem r ()
+ Incipit.Full: runConc :: Sem ConcStack a -> IO a
+ Incipit.Full: scoped :: forall resource (effect :: Effect) (r :: EffectRow). Member (Scoped resource effect) r => InterpreterFor effect r
+ Incipit.Full: subscribe :: forall e resource (r :: EffectRow). Member (Scoped (EventResource resource) (Consume e)) r => InterpreterFor (Consume e) r
+ Incipit.Full: type EventConsumer token e = Scoped EventResource token Consume e
+ Incipit.Full: type Mask resource = Scoped MaskResource resource RestoreMask
+ Incipit.Full: type ScopedSync res a = Scoped SyncResources res Sync a
+ Incipit.Full: type UninterruptibleMask resource = Scoped UninterruptibleMaskResource resource RestoreMask
Files
- changelog.md +6/−0
- incipit.cabal +2/−1
- lib/Incipit.hs +2/−27
- lib/Incipit/Full.hs +31/−0
changelog.md view
@@ -0,0 +1,6 @@+# 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,7 +5,7 @@ -- see: https://github.com/sol/hpack name: incipit-version: 0.2.0.0+version: 0.2.1.0 synopsis: A Prelude for Polysemy description: See <https://hackage.haskell.org/package/incipit/docs/Prelude.html> category: Prelude@@ -29,6 +29,7 @@ exposed-modules: Conc Incipit+ Incipit.Full Log Prelude Queue
lib/Incipit.hs view
@@ -1,31 +1,6 @@ -- |A Prelude for Polysemy projects, reexporting names and modules from several basic libraries. module Incipit (- module IncipitCore,- module Polysemy.Conc,- module Polysemy.Log,- module Polysemy.Resume,- module Polysemy.Time,+ module Incipit.Full, ) where -import IncipitCore-import Polysemy.Conc (- EventConsumer,- Events,- Interrupt,- Mask,- Queue,- QueueResult,- Race,- Scoped,- ScopedSync,- Sync,- UninterruptibleMask,- consume,- publish,- runConc,- scoped,- subscribe,- )-import Polysemy.Log (DataLog, Log)-import Polysemy.Resume-import Polysemy.Time (Time, TimeUnit)+import Incipit.Full
+ lib/Incipit/Full.hs view
@@ -0,0 +1,31 @@+-- |A Prelude for Polysemy projects, reexporting names and modules from several basic libraries.+module Incipit.Full (+ module IncipitCore,+ module Polysemy.Conc,+ module Polysemy.Log,+ module Polysemy.Resume,+ module Polysemy.Time,+) where++import IncipitCore+import Polysemy.Conc (+ EventConsumer,+ Events,+ Interrupt,+ Mask,+ Queue,+ QueueResult,+ Race,+ Scoped,+ ScopedSync,+ Sync,+ UninterruptibleMask,+ consume,+ publish,+ runConc,+ scoped,+ subscribe,+ )+import Polysemy.Log (DataLog, Log)+import Polysemy.Resume+import Polysemy.Time (Time, TimeUnit)