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

Copyright(c) Dmitry Astapov, 2006 ; pierre, 2007
LicenseBSD-style (see the file LICENSE)
MaintainerDmitry Astapov <dastapov@gmail.com>, pierre <k.pierre.k@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Network.XMPP.Print

Description

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

Synopsis

Documentation

renderXmpp :: XmppMessage -> String

Render HaXML combinators into string, hacked for XMPP

putXmppLn :: XmppMessage -> IO ()

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

hPutXmpp :: Handle -> XmppMessage -> IO ()

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 i

to :: String -> ([Char], CFilter i)

xmlns :: String -> ([Char], CFilter i)

xmllang :: String -> ([Char], CFilter i)

type_ :: String -> ([Char], CFilter i)

id_ :: String -> ([Char], CFilter i)

from :: String -> ([Char], CFilter i)