cornea 0.4.0.0 → 0.4.0.1
raw patch · 2 files changed
+16/−14 lines, 2 filesdep ~eitherdep ~lensdep ~monad-controlPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: either, lens, monad-control, relude, th-abstraction
API changes (from Hackage documentation)
+ Cornea.Prelude: BlockBuffering :: Maybe Int -> BufferMode
+ Cornea.Prelude: LineBuffering :: BufferMode
+ Cornea.Prelude: NoBuffering :: BufferMode
+ Cornea.Prelude: data BufferMode
+ Cornea.Prelude: getArgs :: MonadIO m => m [String]
+ Cornea.Prelude: hFlush :: MonadIO m => Handle -> m ()
+ Cornea.Prelude: hGetBuffering :: MonadIO m => Handle -> m BufferMode
+ Cornea.Prelude: hIsEOF :: MonadIO m => Handle -> m Bool
+ Cornea.Prelude: hSetBuffering :: MonadIO m => Handle -> BufferMode -> m ()
+ Cornea.Prelude: infinitely :: Applicative f => f a -> f Void
+ Cornea.Prelude: intNub :: [Int] -> [Int]
+ Cornea.Prelude: intNubOn :: (a -> Int) -> [a] -> [a]
+ Cornea.Prelude: inverseMap :: (Bounded a, Enum a, Ord k) => (a -> k) -> k -> Maybe a
+ Cornea.Prelude: lookupEnv :: MonadIO m => String -> m (Maybe String)
+ Cornea.Prelude: maybeAt :: Int -> [a] -> Maybe a
+ Cornea.Prelude: ordNubOn :: Ord b => (a -> b) -> [a] -> [a]
+ Cornea.Prelude: partitionWith :: (a -> Either b c) -> [a] -> ([b], [c])
+ Cornea.Prelude: readFile' :: MonadIO m => FilePath -> m String
+ Cornea.Prelude: span :: (a -> Bool) -> [a] -> ([a], [a])
+ Cornea.Prelude: traceShowWith :: Show b => (a -> b) -> a -> a
+ Cornea.Prelude: universe :: (Bounded a, Enum a) => [a]
+ Cornea.Prelude: universeNonEmpty :: (Bounded a, Enum a) => NonEmpty a
- Cornea.Prelude: (<<<) :: forall k cat (b :: k) (c :: k) (a :: k). Category cat => cat b c -> cat a b -> cat a c
+ Cornea.Prelude: (<<<) :: forall {k} cat (b :: k) (c :: k) (a :: k). Category cat => cat b c -> cat a b -> cat a c
- Cornea.Prelude: (>>>) :: forall k cat (a :: k) (b :: k) (c :: k). Category cat => cat a b -> cat b c -> cat a c
+ Cornea.Prelude: (>>>) :: forall {k} cat (a :: k) (b :: k) (c :: k). Category cat => cat a b -> cat b c -> cat a c
- Cornea.Prelude: -- | Type of single element of the structure.
+ Cornea.Prelude: -- | Type of a single element of the structure.
- Cornea.Prelude: coerce :: forall (k :: RuntimeRep) (a :: TYPE k) (b :: TYPE k). Coercible a b => a -> b
+ Cornea.Prelude: coerce :: forall {k :: RuntimeRep} (a :: TYPE k) (b :: TYPE k). Coercible a b => a -> b
- Cornea.Prelude: contramap :: Contravariant f => (a -> b) -> f b -> f a
+ Cornea.Prelude: contramap :: Contravariant f => (a' -> a) -> f a -> f a'
- Cornea.Prelude: mapAccumL :: Traversable t => (a -> b -> (a, c)) -> a -> t b -> (a, t c)
+ Cornea.Prelude: mapAccumL :: Traversable t => (s -> a -> (s, b)) -> s -> t a -> (s, t b)
- Cornea.Prelude: mapAccumR :: Traversable t => (a -> b -> (a, c)) -> a -> t b -> (a, t c)
+ Cornea.Prelude: mapAccumR :: Traversable t => (s -> a -> (s, b)) -> s -> t a -> (s, t b)
- Cornea.Prelude: seq :: forall (r :: RuntimeRep) a (b :: TYPE r). a -> b -> b
+ Cornea.Prelude: seq :: forall {r :: RuntimeRep} a (b :: TYPE r). a -> b -> b
Files
- cornea.cabal +14/−12
- lib/Control/Monad/DeepState.hs +2/−2
cornea.cabal view
@@ -1,11 +1,11 @@ cabal-version: 2.2 --- This file has been generated from package.yaml by hpack version 0.34.4.+-- This file has been generated from package.yaml by hpack version 0.34.6. -- -- see: https://github.com/sol/hpack name: cornea-version: 0.4.0.0+version: 0.4.0.1 synopsis: classy optical monadic state description: Please see the README on GitHub at <https://github.com/tek/cornea> category: Lens@@ -100,14 +100,14 @@ ghc-options: -Wall -Wredundant-constraints -Wsimplifiable-class-constraints build-depends: base ==4.*- , either >=5.0.1 && <5.1- , lens ==4.*+ , either >=5.0.1+ , lens >=4 , lifted-base <0.3- , monad-control ==1.0.*+ , monad-control >=1.0 , mtl- , relude >=0.7 && <1.2+ , relude >=0.7 , template-haskell- , th-abstraction >=0.3 && <0.5+ , th-abstraction >=0.3 , transformers mixins: base hiding (Prelude)@@ -121,6 +121,8 @@ DeepReaderSpec DeepStateSpec Paths_cornea+ autogen-modules:+ Paths_cornea hs-source-dirs: test default-extensions:@@ -184,17 +186,17 @@ build-depends: base ==4.* , cornea- , either >=5.0.1 && <5.1+ , either >=5.0.1 , hedgehog- , lens ==4.*+ , lens >=4 , lifted-base <0.3- , monad-control ==1.0.*+ , monad-control >=1.0 , mtl- , relude >=0.7 && <1.2+ , relude >=0.7 , tasty , tasty-hedgehog , template-haskell- , th-abstraction >=0.3 && <0.5+ , th-abstraction >=0.3 , transformers mixins: base hiding (Prelude)
lib/Control/Monad/DeepState.hs view
@@ -85,8 +85,8 @@ MonadDeepState s s' m => Lens' s' a -> m a-getL =- gets . Lens.view+getL l =+ gets (Lens.view l) getsL :: ∀ s' s m a b.