packages feed

prelate 0.1.0.0 → 0.2.0.0

raw patch · 10 files changed

+38/−5 lines, 10 filesdep ~incipitdep ~polysemy-concdep ~polysemy-processPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: incipit, polysemy-conc, polysemy-process

API changes (from Hackage documentation)

+ Prelate.Control.Applicative: pairA :: Applicative f => f a -> f b -> f (a, b)
+ Prelate.Data.List: firstJust :: (a -> Maybe b) -> [a] -> Maybe b

Files

lib/Prelate.hs view
@@ -1,3 +1,4 @@+-- |A Polysemy Prelude with some basic libraries module Prelate (module Prelate.Prelude) where  import Prelate.Prelude
lib/Prelate/Atomic.hs view
@@ -1,9 +1,11 @@+-- |'AtomicState' combinators for lenses module Prelate.Atomic where  import Incipit (AtomicState, Member, Sem, atomicGets, atomicModify') import Lens.Micro (Lens', (.~)) import Lens.Micro.Extras (view) +-- |Modify the focus of a lens in 'AtomicState'. atomicSet ::   Member (AtomicState s) r =>   Lens' s a ->@@ -12,6 +14,7 @@ atomicSet l a =   atomicModify' (l .~ a) +-- |View the focus of a lens in 'AtomicState'. atomicView ::   Member (AtomicState s) r =>   Lens' s a ->
+ lib/Prelate/Control/Applicative.hs view
@@ -0,0 +1,12 @@+-- |Applicative combinators+module Prelate.Control.Applicative where++-- |Create a pair from two applicative values.+pairA ::+  Applicative f =>+  f a ->+  f b ->+  f (a, b)+pairA fa fb =+  (,) <$> fa <*> fb+{-# inline pairA #-}
lib/Prelate/Control/Monad.hs view
@@ -1,3 +1,4 @@+-- |Monad reexports from @extra@ and some combinators module Prelate.Control.Monad (   module Prelate.Control.Monad,   module Control.Monad.Extra,
+ lib/Prelate/Data/List.hs view
@@ -0,0 +1,6 @@+-- |List reexports from @extra@+module Prelate.Data.List (+  module Data.List.Extra,+) where++import Data.List.Extra (firstJust)
lib/Prelate/Data/Maybe.hs view
@@ -1,3 +1,4 @@+-- |Maybe combinators module Prelate.Data.Maybe where  -- |Return 'Just' if the condition is 'True'.
lib/Prelate/Json.hs view
@@ -1,3 +1,4 @@+-- | Aeson TH functions module Prelate.Json (   json,   unaryJson,@@ -8,7 +9,6 @@ import Data.Generics.Labels () import Data.List (dropWhileEnd) import qualified Language.Haskell.TH.Syntax as TH-  -- |Aeson codec options that remove leading and trailing underscores. basicOptions :: Aeson.Options
lib/Prelate/Prelude.hs view
@@ -1,8 +1,11 @@+-- |A Polysemy Prelude with some basic libraries module Prelate.Prelude (   module Incipit,   module Prelate.Prelude,   module Prelate.Atomic,+  module Prelate.Control.Applicative,   module Prelate.Control.Monad,+  module Prelate.Data.List,   module Prelate.Data.Maybe,   module Prelate.Json,   module Data.Aeson,@@ -17,7 +20,9 @@ import Lens.Micro.GHC (at)  import Prelate.Atomic+import Prelate.Control.Applicative import Prelate.Control.Monad+import Prelate.Data.List import Prelate.Data.Maybe import Prelate.Json 
lib/Process.hs view
@@ -1,3 +1,4 @@+-- |Reexport of @polysemy-process@ module Process (   module Polysemy.Process ) where
prelate.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           prelate-version:        0.1.0.0+version:        0.2.0.0 synopsis:       A Prelude description:    See https://hackage.haskell.org/package/prelate/docs/Prelate.html category:       Prelude@@ -26,7 +26,9 @@   exposed-modules:       Prelate       Prelate.Atomic+      Prelate.Control.Applicative       Prelate.Control.Monad+      Prelate.Data.List       Prelate.Data.Maybe       Prelate.Json       Prelate.Prelude@@ -61,6 +63,7 @@     , Data.Tree     , Exon     , Lens.Micro+    , Lens.Micro.Extras     , Lens.Micro.GHC     , Polysemy.Chronos     , Polysemy.Conc@@ -146,13 +149,13 @@     , exon >=1.0.1     , extra >=1.7.10     , generic-lens >=2.2-    , incipit >=0.3+    , incipit >=0.4     , microlens >=0.4     , microlens-ghc >=0.4     , polysemy-chronos >=0.5-    , polysemy-conc >=0.9+    , polysemy-conc >=0.10     , polysemy-log >=0.7-    , polysemy-process >=0.9+    , polysemy-process >=0.10     , polysemy-resume >=0.5     , polysemy-time >=0.5     , template-haskell