| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Damn.Format.IRC
Description
Format a dAmn message body as an inline text approximation, including IRC styles.
Documentation
ircFormat :: Formatter Lines Source #
This formatter functions as damnFormat,
except that bold, italics, and underlines will be converted to mIRC
colors.
Additionally, Text will be encoded as UTF-8.
Note that this formatter will generate Lines, as newlines (to which
&br\t translates) cannot appear in IRC messages.
unLines :: Lines -> [ByteString] Source #