Portability | portable |
---|---|
Stability | experimental |
Maintainer | Dmitry Astapov <dastapov@gmail.com>, pierre <k.pierre.k@gmail.com> |
Safe Haskell | Safe-Infered |
An XMPP pretty-printing combinators Ported from Text.HTML to HaXML combinatiors
- renderXmpp :: XmppMessage -> String
- putXmppLn :: XmppMessage -> IO ()
- hPutXmpp :: Handle -> XmppMessage -> IO ()
- stream :: Show a => a -> String -> CFilter i
- streamEnd :: CFilter i
- to :: String -> ([Char], CFilter i)
- xmlns :: String -> ([Char], CFilter i)
- xmllang :: String -> ([Char], CFilter i)
- language :: String -> ([Char], CFilter i)
- stream_version :: String -> ([Char], CFilter i)
- mechanism :: String -> ([Char], CFilter i)
- type_ :: String -> ([Char], CFilter i)
- id_ :: String -> ([Char], CFilter i)
- from :: String -> ([Char], CFilter i)
Documentation
renderXmpp :: XmppMessage -> StringSource
Render HaXML combinators into string, hacked for XMPP
putXmppLn :: XmppMessage -> IO ()Source
Convert the internal representation (built using HaXml combinators) into string, and print it out
hPutXmpp :: Handle -> XmppMessage -> IO ()Source
Convert the internal representation (built using HaXml combinators) into string, and print it to the specified Handle, without trailing newline
stream_version :: String -> ([Char], CFilter i)Source