Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Selector | |
|
Children is a simple specialized wrapper around Map
with a custom Monoid
instance. Instead of simply union
ing the two Map
s, the Children
instance mappend
s the two values together in case of a key clash.
Type for a CSS property or comment. The two are combined because we want to keep the ordering of comments and properties in the output CSS.
Basic newtype for handling css @import
statements.
Top-level representation of a CSS document.
data InnerBlock Source #
Instances
Eq InnerBlock Source # | |
Defined in Stitch.Types (==) :: InnerBlock -> InnerBlock -> Bool # (/=) :: InnerBlock -> InnerBlock -> Bool # | |
Read InnerBlock Source # | |
Defined in Stitch.Types readsPrec :: Int -> ReadS InnerBlock # readList :: ReadS [InnerBlock] # readPrec :: ReadPrec InnerBlock # readListPrec :: ReadPrec [InnerBlock] # | |
Show InnerBlock Source # | |
Defined in Stitch.Types showsPrec :: Int -> InnerBlock -> ShowS # show :: InnerBlock -> String # showList :: [InnerBlock] -> ShowS # | |
Semigroup InnerBlock Source # | |
Defined in Stitch.Types (<>) :: InnerBlock -> InnerBlock -> InnerBlock # sconcat :: NonEmpty InnerBlock -> InnerBlock # stimes :: Integral b => b -> InnerBlock -> InnerBlock # | |
Monoid InnerBlock Source # | |
Defined in Stitch.Types mempty :: InnerBlock # mappend :: InnerBlock -> InnerBlock -> InnerBlock # mconcat :: [InnerBlock] -> InnerBlock # |