| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Hakyll.Core.Item
Description
An item is a combination of some content and its Identifier. This way, we
can still use the Identifier to access metadata.
- data Item a = Item {
- itemIdentifier :: Identifier
- itemBody :: a
- itemSetBody :: a -> Item b -> Item a
- withItemBody :: (a -> Compiler b) -> Item a -> Compiler (Item b)
Documentation
Constructors
| Item | |
Fields
| |
itemSetBody :: a -> Item b -> Item a Source