1 2 3 4 5 6 7 8 9 10 11
module Stylish.Element( Element(..), Attribute(..) ) where data Element = ElementNode { parent :: Maybe Element, previous :: Maybe Element, name :: String, attributes :: [Attribute] -- in sorted order. } data Attribute = Attribute String String