packages feed

liblawless 0.18.0 → 0.18.2

raw patch · 5 files changed

+37/−20 lines, 5 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Path: infixl 7 <++>
- Path: infixr 5 </>
+ Machine: (↢) :: MonadBaseControl IO m => ProcessT m b c -> MachineT m k b -> MachineT m k c
+ Machine: (↣) :: MonadBaseControl IO m => MachineT m k b -> ProcessT m b c -> MachineT m k c
+ Machine: (⧻) :: forall m a b c d. MonadBaseControl IO m => ProcessT m a b -> ProcessT m c d -> ProcessT m (Either a c) (Either b d)
+ Machine: (⫴) :: forall m a b r. MonadBaseControl IO m => ProcessT m a r -> ProcessT m b r -> ProcessT m (Either a b) r
+ Machine: infixl 7 ↣
+ Machine: infixr 6 ⫴
+ Machine: infixr 7 ↢
- IO: using :: MonadManaged m => Managed a -> m a
+ IO: using :: Managed a -> m a
- Time: buildTime :: ParseTime t => TimeLocale -> [(Char, String)] -> Maybe t
+ Time: buildTime :: TimeLocale -> [(Char, String)] -> Maybe t
- Time: formatCharacter :: FormatTime t => Char -> Maybe (TimeLocale -> Maybe NumericPadOption -> t -> String)
+ Time: formatCharacter :: Char -> Maybe (TimeLocale -> Maybe NumericPadOption -> t -> String)

Files

Source/Lawless.hs view
@@ -38,7 +38,6 @@ import Data.Bool hiding (bool) import Data.Monoid -import Control.Arrow.Unicode as UNI import Control.Monad.Unicode as UNI import Control.Applicative.Unicode ((⊛)) import Data.Bool.Unicode as UNI
Source/Machine.hs view
@@ -1,12 +1,15 @@ module Machine (     module Data.Machine.Concurrent,     (⇝),-    (⇜)+    (⇜),+    (↣),+    (↢),+    (⧻),+    (⫴)     ) where -import Lawless hiding ((<~), (~>))+import Lawless hiding ((<~)) import Data.Machine.Concurrent-import Control.Monad import Control.Monad.Trans.Control  infixr 9 ⇜
Source/Path.hs view
@@ -40,25 +40,24 @@     P.toString,      -- * Auxillary Manipulation Functions-    P.equalFilePath,-    P.joinPath,-    P.normalise,-    P.splitPath,-    P.makeRelative,-    P.makeRelativeMaybe,-    P.makeAbsolute,-    P.makeAbsoluteFromCwd,+    P.dirFromFile,+    P.dirFromFileDir,     P.dynamicMakeAbsolute,     P.dynamicMakeAbsoluteFromCwd,+    P.equalFilePath,+    P.fileFromDir,+    P.fileFromFileDir,+    P.fromFileDir,     P.genericMakeAbsolute,     P.genericMakeAbsoluteFromCwd,+    P.joinPath,+    P.makeAbsolute,+    P.makeAbsoluteFromCwd,+    P.makeRelative,+    P.makeRelativeMaybe,+    P.normalise,     P.pathMap,-    P.dirFromFile,-    P.fileFromDir,     P.toFileDir,-    P.fromFileDir,-    P.fileFromFileDir,-    P.dirFromFileDir,      -- * Path Predicates     P.isAbsolute,
Tests/TestAesonEncoding.hs view
@@ -21,7 +21,9 @@ import Lawless hiding (elements) import Aeson import Data.Char (toLower)+import Text +default (Text)  data FieldLabel = FieldLabel {     _flPrefix ∷ [Char],@@ -36,8 +38,13 @@ flModLabel ∷ Getter FieldLabel [Char] flModLabel = to (fieldLabelModifier lawlessJSONOptions ∘ view flLabel) +lowers ∷ Gen Char lowers = elements ['a'..'z']++uppers ∷ Gen Char uppers = elements ['A'..'Z']++others ∷ Gen Char others = elements $ concatOf traversed [['a'..'z'], ['A'..'Z'], ['0'..'9'], "_"]  instance Arbitrary FieldLabel where
liblawless.cabal view
@@ -1,5 +1,5 @@ name:                liblawless-version:             0.18.0+version:             0.18.2 synopsis:            Prelude based on protolude for GHC 8 and beyond. license:             GPL-3 license-file:        LICENSE@@ -27,7 +27,7 @@ source-repository this   type:     git   location:   git@gitlab.com:misandrist/liblawless.git-  tag: v0.18.0+  tag: v0.18.2  library   ghc-options: -Wall -Wno-redundant-constraints -O2@@ -52,6 +52,7 @@                   Time                   Tree   default-extensions:+                     ExtendedDefaultRules                      NoImplicitPrelude                      UnicodeSyntax                      LambdaCase@@ -116,7 +117,14 @@   default-language:    Haskell2010  test-suite test-liblawless-  ghc-options: -Wall -threaded -feager-blackholing -rtsopts -dynamic+  ghc-options:+              -Wall+              -Wno-redundant-constraints+              -Wno-type-defaults+              -threaded+              -feager-blackholing+              -rtsopts+              -dynamic   default-language:    Haskell2010   type: exitcode-stdio-1.0   hs-source-dirs: Tests@@ -147,6 +155,7 @@                 time,                 transformers >= 0.4.2.0   default-extensions:+                     ExtendedDefaultRules                      NoImplicitPrelude                      UnicodeSyntax                      LambdaCase