packages feed

trifecta 2.1.2 → 2.1.3

raw patch · 4 files changed

+21/−13 lines, 4 filesdep ~containersdep ~deepseq

Dependency ranges changed: containers, deepseq

Files

CHANGELOG.markdown view
@@ -1,3 +1,7 @@+2.1.3 [2023.08.07]+------------------+* Allow building with `deepseq-1.5.*`.+ 2.1.2 [2021.11.16] ------------------ * Add an `Eq Strand` instance.
examples/trifecta-examples.cabal view
@@ -20,8 +20,10 @@              , GHC == 8.6.5              , GHC == 8.8.4              , GHC == 8.10.7-             , GHC == 9.0.1-             , GHC == 9.2.1+             , GHC == 9.0.2+             , GHC == 9.2.7+             , GHC == 9.4.5+             , GHC == 9.6.2 extra-source-files: RFC2616.txt RFC2616-malformed.txt  source-repository head
src/Text/Trifecta/Rendering.hs view
@@ -68,7 +68,7 @@ import           Data.Function                                (on) import           Data.Hashable import           Data.Int                                     (Int64)-import           Data.List                                    (groupBy)+import qualified Data.List.NonEmpty                           as NE import           Data.Maybe import           Data.Semigroup import           Data.Semigroup.Reducer@@ -291,8 +291,8 @@     margin = fill gutterWidth space <+> separator     ln y = (sgr gutterEffects (if y == 0 then gutter else margin) <+>)          $ hcat-         $ P.map (\g -> sgr (fst (P.head g)) (pretty (P.map snd g)))-         $ groupBy ((==) `on` fst)+         $ P.map (\g -> sgr (fst (NE.head g)) (pretty (fmap snd g)))+         $ NE.groupBy ((==) `on` fst)          [ a ! (y,i) | i <- [lo..hi] ]  window :: Int64 -> Int64 -> Int64 -> (Int64, Int64)
trifecta.cabal view
@@ -1,6 +1,6 @@ name:          trifecta category:      Text, Parsing, Diagnostics, Pretty Printer, Logging-version:       2.1.2+version:       2.1.3 license:       BSD3 cabal-version: 1.18 license-file:  LICENSE@@ -27,8 +27,10 @@              , GHC == 8.6.5              , GHC == 8.8.4              , GHC == 8.10.7-             , GHC == 9.0.1-             , GHC == 9.2.1+             , GHC == 9.0.2+             , GHC == 9.2.7+             , GHC == 9.4.5+             , GHC == 9.6.2  extra-doc-files:   images/*.png@@ -66,29 +68,29 @@     Text.Trifecta.Util.Pretty    build-depends:-    ansi-terminal               >= 0.6     && < 0.12,+    ansi-terminal               >= 0.6     && < 1.1,     array                       >= 0.5.1.1 && < 0.6,     base                        >= 4.9     && < 5,     blaze-builder               >= 0.3.0.1 && < 0.5,     blaze-html                  >= 0.9     && < 0.10,     blaze-markup                >= 0.8     && < 0.9,-    bytestring                  >= 0.9.1   && < 0.12,+    bytestring                  >= 0.9.1   && < 0.13,     charset                     >= 0.3.5.1 && < 1,     comonad                     >= 5       && < 6,     containers                  >= 0.5.7.0 && < 0.7,-    deepseq                     >= 1.4.2.0 && < 1.5,+    deepseq                     >= 1.4.2.0 && < 1.6,     fingertree                  >= 0.1     && < 0.2,     ghc-prim,     hashable                    >= 1.2.4   && < 1.5,     indexed-traversable         >= 0.1.1   && < 0.2,     lens                        >= 4.14    && < 6,-    mtl                         >= 2.2.1   && < 2.3,+    mtl                         >= 2.2.1   && < 2.4,     parsers                     >= 0.12.1  && < 1,     prettyprinter               >= 1.7     && < 2,     prettyprinter-ansi-terminal >= 1.1.2   && < 2,     profunctors                 >= 5.2     && < 6,     reducers                    >= 3.12.1  && < 4,-    transformers                >= 0.5     && < 0.6,+    transformers                >= 0.5     && < 0.7,     unordered-containers        >= 0.2.1   && < 0.3,     utf8-string                 >= 0.3.6   && < 1.1