Copyright | (c) Nathaniel Symer, 2015 |
---|---|
License | MIT |
Maintainer | nate@symer.io |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
CSS declaration blocks.
- data Block
- data Declaration = Declaration Text Builder
- isEmpty :: Block -> Bool
- buildBlock :: Block -> Builder
Types
Block data structure.
DeclarationBlock Selector [Declaration] | Create a block with a declaration list for a body |
BuilderBlock Selector Builder | create a block with a builder body |
Monad m => MonadWriter (Seq Block) (NiagraT m) |
data Declaration Source
A single declaration
Monad m => MonadState (Seq (Selector, Seq Declaration)) (NiagraT m) |