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