packages feed

colorful-monoids 0.2.1.2 → 0.2.1.3

raw patch · 2 files changed

+2/−10 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.Monoid.Colorful: Bg :: !Color -> (Colored a) -> Colored a
+ Data.Monoid.Colorful: Bg :: !Color -> Colored a -> Colored a
- Data.Monoid.Colorful: Fg :: !Color -> (Colored a) -> Colored a
+ Data.Monoid.Colorful: Fg :: !Color -> Colored a -> Colored a
- Data.Monoid.Colorful: Pair :: (Colored a) -> (Colored a) -> Colored a
+ Data.Monoid.Colorful: Pair :: Colored a -> Colored a -> Colored a
- Data.Monoid.Colorful: Style :: !Style -> (Colored a) -> Colored a
+ Data.Monoid.Colorful: Style :: !Style -> Colored a -> Colored a
- Data.Monoid.Colorful: Unstyle :: !Style -> (Colored a) -> Colored a
+ Data.Monoid.Colorful: Unstyle :: !Style -> Colored a -> Colored a

Files

colorful-monoids.cabal view
@@ -1,11 +1,6 @@--- This file has been generated from package.yaml by hpack version 0.28.2.------ see: https://github.com/sol/hpack------ hash: 4dd693235a67055e822734457a4fbe50bc4d970d104d43b5baa6c1f92ad1d6e6-+cabal-version: 1.12 name:           colorful-monoids-version:        0.2.1.2+version:        0.2.1.3 synopsis:       Styled console text output using ANSI escape sequences. description:    This library provides styled text output using ANSI escape sequences. The colored text is modeled as nested Colored values, which form a Monoid. As a result the colored code has a relatively concise form. category:       Text, User Interfaces, Monad@@ -19,7 +14,6 @@ license-file:   LICENSE tested-with:    GHC == 7.10.3, GHC == 8.0.1, GHC == 8.4.2, GHC == 8.6.1 build-type:     Simple-cabal-version:  >= 1.10  source-repository head   type: git
src/Data/Monoid/Colorful/SGR.hs view
@@ -40,7 +40,6 @@    flag  f n = update f $ bool (20 + n:) (n:)   color f n = update (reduceColor t . f) $ sgrColorArgs n-{-# INLINE sgrCode #-}  sgrColorArgs :: Word8 -> Color -> ([Word8] -> [Word8]) sgrColorArgs n c = case c of@@ -63,4 +62,3 @@   DullCyan     -> (36 + n:)   DullWhite    -> (37 + n:)   DefaultColor -> (39 + n:)-{-# INLINE sgrColorArgs #-}