haskell-xmpp-1.0.1: Haskell XMPP (eXtensible Message Passing Protocol, a.k.a. Jabber) library

Portabilityportable
Stabilityexperimental
MaintainerDmitry Astapov <dastapov@gmail.com>, pierre <k.pierre.k@gmail.com>
Safe HaskellSafe-Infered

Network.XMPP.Print

Description

An XMPP pretty-printing combinators Ported from Text.HTML to HaXML combinatiors

Synopsis

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 :: Show a => a -> String -> CFilter iSource