~alcinnz/haskell-stylist

5c97dd0e1094c7f2e405f30a14133000be310cd5 — Adrian Cochrane 3 years ago 3007f58
Fix build failure against new enough versions of 'text'.
2 files changed, 4 insertions(+), 3 deletions(-)

M src/Data/CSS/Preprocessor/PsuedoClasses.hs
M stylist.cabal
M src/Data/CSS/Preprocessor/PsuedoClasses.hs => src/Data/CSS/Preprocessor/PsuedoClasses.hs +1 -1
@@ 8,7 8,7 @@ import Data.CSS.Syntax.StyleSheet
import Data.CSS.Syntax.Selector
import Data.CSS.Syntax.Tokens

import Data.Text as Txt
import Data.Text as Txt hiding (elem)
import Data.Maybe (fromMaybe, listToMaybe)
import Data.HashMap.Lazy as HM
import Data.Function ((&))

M stylist.cabal => stylist.cabal +3 -2
@@ 10,7 10,7 @@ name:                stylist
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             2.4.0.0
version:             2.4.0.1

-- A short (one-line) description of the package.
synopsis:            Apply CSS styles to a document tree.


@@ 89,6 89,7 @@ test-suite test-stylist
  other-modules:        Data.CSS.Syntax.StyleSheet, Data.CSS.Syntax.Selector, Data.CSS.Style
  build-depends:       base >=4.9 && <5, css-syntax >=0.1 && <0.2, text,
                        unordered-containers >= 0.2 && <0.3, hashable,
                        network-uri >= 2.6 && <2.7, async >= 2.1 && <2.3, hspec, QuickCheck,
                        network-uri >= 2.6 && <2.7, async >= 2.1 && <2.3,
                        regex-tdfa >= 1.3, hspec, QuickCheck,
                        scientific >= 0.3 && <1.0, regex-tdfa >= 1.3
  ghc-options: -Wall