A Stylish/Select.hs => Stylish/Select.hs +18 -0
@@ 0,0 1,18 @@
+module Stylish.Select(
+ DocumentNode(..),
+ DocumentAttribute(..)
+ ) where
+
+data DocumentNode = DocumentNode {
+ parent :: DocumentNode,
+ prev :: DocumentNode,
+ name :: Text,
+ namespace :: Text,
+ attributes :: [DocumentAttribute] -- Sorted alphabetically by name.
+}
+
+data DocumentAttribute = DocumentAttribute {
+ name :: Text,
+-- namespace :: Text, -- TODO
+ value :: Text
+}
M stylish-haskell.cabal => stylish-haskell.cabal +1 -1
@@ 48,7 48,7 @@ cabal-version: >=1.10
library
-- Modules exported by the library.
- -- exposed-modules:
+ -- exposed-modules: Stylish.Select
-- Modules included in this library but not exported.
-- other-modules: