~alcinnz/haskell-stylist

a3f78f03cb591de7a874f32a677871cd9c95c354 — Adrian Cochrane 11 months ago 9f6bc1a
Release Stylist-Traits 0.1.3
2 files changed, 4 insertions(+), 1 deletions(-)

M stylist-traits/src/Stylist.hs
M stylist-traits/stylist-traits.cabal
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