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
class ToAttributes a where Source #
Convert some value to a list of attribute pairs.
Methods
toAttributes :: a -> Map Name Text Source #
Instances
ToAttributes [(String, String)] Source # | |
Defined in Text.Hamlet.XML Methods toAttributes :: [(String, String)] -> Map Name Text Source # | |
ToAttributes [(Text, Text)] Source # | |
Defined in Text.Hamlet.XML Methods toAttributes :: [(Text, Text)] -> Map Name Text Source # | |
ToAttributes [(Name, Text)] Source # | |
Defined in Text.Hamlet.XML Methods toAttributes :: [(Name, Text)] -> Map Name Text Source # | |
ToAttributes (String, String) Source # | |
Defined in Text.Hamlet.XML Methods toAttributes :: (String, String) -> Map Name Text Source # | |
ToAttributes (Text, Text) Source # | |
Defined in Text.Hamlet.XML Methods toAttributes :: (Text, Text) -> Map Name Text Source # | |
ToAttributes (Name, Text) Source # | |
Defined in Text.Hamlet.XML Methods toAttributes :: (Name, Text) -> Map Name Text Source # | |
ToAttributes (Map String String) Source # | |
Defined in Text.Hamlet.XML Methods toAttributes :: Map String String -> Map Name Text Source # | |
ToAttributes (Map Text Text) Source # | |
Defined in Text.Hamlet.XML Methods toAttributes :: Map Text Text -> Map Name Text Source # | |
ToAttributes (Map Name Text) Source # | |
Defined in Text.Hamlet.XML Methods toAttributes :: Map Name Text -> Map Name Text Source # |