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