haskell-xmpp-2.0.4: Haskell XMPP (eXtensible Message Passing Protocol, a.k.a. Jabber) library
Copyright(c) Dmitry Astapov 2006 ; pierre 2007
LicenseBSD3
MaintainerDmitry Astapov <dastapov@gmail.com>, pierre <k.pierre.k@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Network.XMPP.Print

Description

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

Synopsis

Documentation

renderXmpp :: Content Posn -> String Source #

Render HaXML combinators into string, hacked for XMPP

putXmppLn :: Content Posn -> IO () Source #

Convert the internal representation (built using HaXml combinators) into string, and print it out

hPutXmpp :: Handle -> Content Posn -> 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 -> Text -> CFilter i Source #