M stylist-traits/src/Stylist.hs => stylist-traits/src/Stylist.hs +3 -0
@@ 27,6 27,9 @@ class PropertyParser a where
inherit :: a -> a
inherit = id
+ priority :: a -> [Text]
+ priority _ = []
+
-- | Expand a shorthand property into longhand properties.
shorthand :: a -> Text -> [Token] -> [(Text, [Token])]
shorthand self key value | Just _ <- longhand self self key value = [(key, value)]
M stylist-traits/stylist-traits.cabal => stylist-traits/stylist-traits.cabal +1 -1
@@ 10,7 10,7 @@ name: stylist-traits
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
-version: 0.1.2.0
+version: 0.1.3.0
-- A short (one-line) description of the package.
synopsis: Traits, datatypes, & parsers for Haskell Stylist