From 5f4c8cd6b007083b5215758c05b782e8d1c2c33b Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Sun, 14 Jul 2019 13:31:49 +1200 Subject: [PATCH] Aid attribute sorting, fix install of internal modules. --- src/Data/CSS/Style/Common.hs | 2 +- stylish-haskell.cabal | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Data/CSS/Style/Common.hs b/src/Data/CSS/Style/Common.hs index 031cb6c..5ba50bb 100644 --- a/src/Data/CSS/Style/Common.hs +++ b/src/Data/CSS/Style/Common.hs @@ -16,7 +16,7 @@ data Element = ElementNode { name :: Text, attributes :: [Attribute] -- in sorted order. } -data Attribute = Attribute Text String +data Attribute = Attribute Text String deriving (Eq, Ord) class RuleStore a where new :: a diff --git a/stylish-haskell.cabal b/stylish-haskell.cabal index aa3f5a3..c783883 100644 --- a/stylish-haskell.cabal +++ b/stylish-haskell.cabal @@ -10,7 +10,7 @@ name: stylish-haskell -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.1.0 +version: 0.2.0 -- A short (one-line) description of the package. synopsis: Apply CSS styles to a document tree. @@ -51,7 +51,9 @@ library exposed-modules: Data.CSS.Syntax.StyleSheet, Data.CSS.Syntax.Selector, Data.CSS.Style -- Modules included in this library but not exported. - -- other-modules: + other-modules: Data.CSS.Syntax.StylishUtil, + Data.CSS.Style.Importance, Data.CSS.Style.Common, + Data.CSS.Style.Selector.Index, Data.CSS.Style.Selector.Interpret, Data.CSS.Style.Selector.Specificity -- LANGUAGE extensions used by modules in this package. -- other-extensions: -- 2.30.2