packages feed

polysemy-time 0.1.2.0 → 0.1.2.1

raw patch · 1 files changed

+7/−11 lines, 1 filesdep ~reludedep ~string-interpolatePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: relude, string-interpolate

API changes (from Hackage documentation)

+ Polysemy.Time.Prelude: -- | Type of a single element of the structure.
+ Polysemy.Time.Prelude: BlockBuffering :: Maybe Int -> BufferMode
+ Polysemy.Time.Prelude: LineBuffering :: BufferMode
+ Polysemy.Time.Prelude: NoBuffering :: BufferMode
+ Polysemy.Time.Prelude: data BufferMode
+ Polysemy.Time.Prelude: getArgs :: MonadIO m => m [String]
+ Polysemy.Time.Prelude: hFlush :: MonadIO m => Handle -> m ()
+ Polysemy.Time.Prelude: hGetBuffering :: MonadIO m => Handle -> m BufferMode
+ Polysemy.Time.Prelude: hIsEOF :: MonadIO m => Handle -> m Bool
+ Polysemy.Time.Prelude: hSetBuffering :: MonadIO m => Handle -> BufferMode -> m ()
+ Polysemy.Time.Prelude: infinitely :: Applicative f => f a -> f Void
+ Polysemy.Time.Prelude: infix 9 !!?
+ Polysemy.Time.Prelude: intNub :: [Int] -> [Int]
+ Polysemy.Time.Prelude: intNubOn :: (a -> Int) -> [a] -> [a]
+ Polysemy.Time.Prelude: inverseMap :: (Bounded a, Enum a, Ord k) => (a -> k) -> k -> Maybe a
+ Polysemy.Time.Prelude: lookupEnv :: MonadIO m => String -> m (Maybe String)
+ Polysemy.Time.Prelude: maybeAt :: Int -> [a] -> Maybe a
+ Polysemy.Time.Prelude: ordNubOn :: Ord b => (a -> b) -> [a] -> [a]
+ Polysemy.Time.Prelude: partitionWith :: (a -> Either b c) -> [a] -> ([b], [c])
+ Polysemy.Time.Prelude: span :: (a -> Bool) -> [a] -> ([a], [a])
+ Polysemy.Time.Prelude: traceShowWith :: Show b => (a -> b) -> a -> a
+ Polysemy.Time.Prelude: universe :: (Bounded a, Enum a) => [a]
+ Polysemy.Time.Prelude: universeNonEmpty :: (Bounded a, Enum a) => NonEmpty a
- Polysemy.Time: adjust :: forall t_auST d_auSW r_auXT u1_XuSV u2_XuSX. (MemberWithError (Time t_auST d_auSW) r_auXT, AddTimeUnit t_auST u1_XuSV u2_XuSX) => u1_XuSV -> Sem r_auXT ()
+ Polysemy.Time: adjust :: forall t_avJU d_avJX r_avOU u1_XvJW u2_XvJY. (MemberWithError (Time t_avJU d_avJX) r_avOU, AddTimeUnit t_avJU u1_XvJW u2_XvJY) => u1_XvJW -> Sem r_avOU ()
- Polysemy.Time: now :: forall t_auSG d_auSH r_auXN. MemberWithError (Time t_auSG d_auSH) r_auXN => Sem r_auXN t_auSG
+ Polysemy.Time: now :: forall t_avJH d_avJI r_avOO. MemberWithError (Time t_avJH d_avJI) r_avOO => Sem r_avOO t_avJH
- Polysemy.Time: setDate :: forall t_auSZ d_auSY r_auXV. MemberWithError (Time t_auSZ d_auSY) r_auXV => d_auSY -> Sem r_auXV ()
+ Polysemy.Time: setDate :: forall t_avK0 d_avJZ r_avOW. MemberWithError (Time t_avK0 d_avJZ) r_avOW => d_avJZ -> Sem r_avOW ()
- Polysemy.Time: setTime :: forall t_auSQ d_auSR r_auXR. MemberWithError (Time t_auSQ d_auSR) r_auXR => t_auSQ -> Sem r_auXR ()
+ Polysemy.Time: setTime :: forall t_avJR d_avJS r_avOS. MemberWithError (Time t_avJR d_avJS) r_avOS => t_avJR -> Sem r_avOS ()
- Polysemy.Time: sleep :: forall t_auSN d_auSO r_auXP u_XuSN. (MemberWithError (Time t_auSN d_auSO) r_auXP, TimeUnit u_XuSN) => u_XuSN -> Sem r_auXP ()
+ Polysemy.Time: sleep :: forall t_avJO d_avJP r_avOQ u_XvJO. (MemberWithError (Time t_avJO d_avJP) r_avOQ, TimeUnit u_XvJO) => u_XvJO -> Sem r_avOQ ()
- Polysemy.Time: today :: forall t_auSJ d_auSK r_auXO. MemberWithError (Time t_auSJ d_auSK) r_auXO => Sem r_auXO d_auSK
+ Polysemy.Time: today :: forall t_avJK d_avJL r_avOP. MemberWithError (Time t_avJK d_avJL) r_avOP => Sem r_avOP d_avJL
- Polysemy.Time.Data.Time: adjust :: forall t_auST d_auSW r_auXT u1_XuSV u2_XuSX. (MemberWithError (Time t_auST d_auSW) r_auXT, AddTimeUnit t_auST u1_XuSV u2_XuSX) => u1_XuSV -> Sem r_auXT ()
+ Polysemy.Time.Data.Time: adjust :: forall t_avJU d_avJX r_avOU u1_XvJW u2_XvJY. (MemberWithError (Time t_avJU d_avJX) r_avOU, AddTimeUnit t_avJU u1_XvJW u2_XvJY) => u1_XvJW -> Sem r_avOU ()
- Polysemy.Time.Data.Time: now :: forall t_auSG d_auSH r_auXN. MemberWithError (Time t_auSG d_auSH) r_auXN => Sem r_auXN t_auSG
+ Polysemy.Time.Data.Time: now :: forall t_avJH d_avJI r_avOO. MemberWithError (Time t_avJH d_avJI) r_avOO => Sem r_avOO t_avJH
- Polysemy.Time.Data.Time: setDate :: forall t_auSZ d_auSY r_auXV. MemberWithError (Time t_auSZ d_auSY) r_auXV => d_auSY -> Sem r_auXV ()
+ Polysemy.Time.Data.Time: setDate :: forall t_avK0 d_avJZ r_avOW. MemberWithError (Time t_avK0 d_avJZ) r_avOW => d_avJZ -> Sem r_avOW ()
- Polysemy.Time.Data.Time: setTime :: forall t_auSQ d_auSR r_auXR. MemberWithError (Time t_auSQ d_auSR) r_auXR => t_auSQ -> Sem r_auXR ()
+ Polysemy.Time.Data.Time: setTime :: forall t_avJR d_avJS r_avOS. MemberWithError (Time t_avJR d_avJS) r_avOS => t_avJR -> Sem r_avOS ()
- Polysemy.Time.Data.Time: sleep :: forall t_auSN d_auSO r_auXP u_XuSN. (MemberWithError (Time t_auSN d_auSO) r_auXP, TimeUnit u_XuSN) => u_XuSN -> Sem r_auXP ()
+ Polysemy.Time.Data.Time: sleep :: forall t_avJO d_avJP r_avOQ u_XvJO. (MemberWithError (Time t_avJO d_avJP) r_avOQ, TimeUnit u_XvJO) => u_XvJO -> Sem r_avOQ ()
- Polysemy.Time.Data.Time: today :: forall t_auSJ d_auSK r_auXO. MemberWithError (Time t_auSJ d_auSK) r_auXO => Sem r_auXO d_auSK
+ Polysemy.Time.Data.Time: today :: forall t_avJK d_avJL r_avOP. MemberWithError (Time t_avJK d_avJL) r_avOP => Sem r_avOP d_avJL
- Polysemy.Time.Prelude: infixl 4 <**>
+ Polysemy.Time.Prelude: infixl 4 <<$>>
- Polysemy.Time.Prelude: infixr 0 $!!
+ Polysemy.Time.Prelude: infixr 0 ?:
- Polysemy.Time.Prelude: type family OneItem x
+ Polysemy.Time.Prelude: type family OneItem x;

Files

polysemy-time.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           polysemy-time-version:        0.1.2.0+version:        0.1.2.1 synopsis:       Polysemy effect for time description:    Please see the readme on Github at <https://github.com/tek/polysemy-time> category:       Time@@ -100,23 +100,21 @@       ViewPatterns   ghc-options: -flate-specialise -fspecialise-aggressively -Wall   build-depends:-      aeson ==1.4.*+      aeson >=1.4 && <1.6     , base ==4.*     , composition ==1.0.*     , containers     , data-default ==0.7.*     , either     , polysemy >=1.3 && <1.6-    , relude ==0.7.*-    , string-interpolate >=0.1 && <0.4+    , relude >=0.7 && <1.1+    , string-interpolate >=0.2 && <0.4     , template-haskell     , text     , time     , torsor ==0.1.*   mixins:       base hiding (Prelude)-  if impl(ghc < 8.10)-    ghc-options: -O2   default-language: Haskell2010  test-suite polysemy-time-unit@@ -188,7 +186,7 @@       ViewPatterns   ghc-options: -flate-specialise -fspecialise-aggressively -Wall -threaded -rtsopts -with-rtsopts=-N -fplugin=Polysemy.Plugin   build-depends:-      aeson ==1.4.*+      aeson >=1.4 && <1.6     , base ==4.*     , composition ==1.0.*     , containers@@ -199,8 +197,8 @@     , polysemy-plugin     , polysemy-test     , polysemy-time-    , relude ==0.7.*-    , string-interpolate >=0.1 && <0.4+    , relude >=0.7 && <1.1+    , string-interpolate >=0.2 && <0.4     , tasty     , tasty-hedgehog     , template-haskell@@ -211,6 +209,4 @@       base hiding (Prelude)     , polysemy-time hiding (Prelude)     , polysemy-time (Polysemy.Time.Prelude as Prelude)-  if impl(ghc < 8.10)-    ghc-options: -O2   default-language: Haskell2010