clevercss 0.2.3 → 0.2.4
raw patch · 3 files changed
+6/−6 lines, 3 filesdep ~parsecPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: parsec
API changes (from Hackage documentation)
Files
- Text/CSS/CleverCSS.hs +1/−1
- Text/CSS/CleverCSSUtil.hs +2/−2
- clevercss.cabal +3/−3
Text/CSS/CleverCSS.hs view
@@ -1,7 +1,7 @@ ------------------------------------------------------------------------------------------ -- | -- Module : Text.CSS.CleverCSS--- Copyright : (c) 2007-2010 Georg Brandl+-- Copyright : (c) 2007-2011 Georg Brandl -- License : BSD (see the file LICENSE) -- -- Main parsing and evaluation module for CleverCSS.
Text/CSS/CleverCSSUtil.hs view
@@ -1,7 +1,7 @@ ----------------------------------------------------------------------------------------- -- | -- Module : Text.CSS.CleverCSSUtil--- Copyright : (c) 2007-2010 Georg Brandl+-- Copyright : (c) 2007-2011 Georg Brandl -- License : BSD (see the file LICENSE) -- -- CleverCSS utilities.@@ -350,4 +350,4 @@ showRat :: Rational -> String showRat r | rest == 0 = show whole | otherwise = printf "%f" (fromRational r :: Double)- where (whole, rest) = (denominator r) `divMod` (numerator r)+ where (whole, rest) = (numerator r) `divMod` (denominator r)
clevercss.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.2 Name: clevercss-Version: 0.2.3+Version: 0.2.4 Category: Text Synopsis: A CSS preprocessor Description: CleverCSS is a CSS preprocessing library that allows defining variables and nesting selectors so that you don't need to Repeat Yourself.@@ -19,7 +19,7 @@ Library Build-Depends: base >= 4 && < 5, containers, mtl If flag(parsec2)- Build-Depends: parsec >= 2.1+ Build-Depends: parsec >= 2.1 && < 3 CPP-Options: -DPARSEC2 Else Build-Depends: parsec >= 3 && < 4@@ -33,7 +33,7 @@ Extensions: PatternGuards GHC-Options: -funbox-strict-fields If flag(parsec2)- Build-Depends: parsec >= 2.1+ Build-Depends: parsec >= 2.1 && < 3 CPP-Options: -DPARSEC2 Else Build-Depends: parsec >= 3 && < 4