| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Text.Hamlet.XML
Synopsis
- xml :: QuasiQuoter
- xmlFile :: FilePath -> Q Exp
- class ToAttributes a where
- toAttributes :: a -> Map Name Text
Documentation
xml :: QuasiQuoter Source #
class ToAttributes a where Source #
Convert some value to a list of attribute pairs.
Instances
| ToAttributes [(String, String)] Source # | |
Defined in Text.Hamlet.XML | |
| ToAttributes [(Text, Text)] Source # | |
Defined in Text.Hamlet.XML | |
| ToAttributes [(Name, Text)] Source # | |
Defined in Text.Hamlet.XML | |
| ToAttributes (String, String) Source # | |
Defined in Text.Hamlet.XML | |
| ToAttributes (Text, Text) Source # | |
Defined in Text.Hamlet.XML | |
| ToAttributes (Name, Text) Source # | |
Defined in Text.Hamlet.XML | |
| ToAttributes (Map String String) Source # | |
Defined in Text.Hamlet.XML | |
| ToAttributes (Map Text Text) Source # | |
Defined in Text.Hamlet.XML | |
| ToAttributes (Map Name Text) Source # | |
Defined in Text.Hamlet.XML | |