irc-fun-color-0.2.1.0: Add color and style decorations to IRC messages.

Safe HaskellNone
LanguageHaskell2010

Network.IRC.Fun.Color.Format.Long

Description

This module provides formatters for use with Formatting. Suggested usage:

import Network.IRC.Fun.Color.Format
import Network.IRC.Fun.Color.Format.Long
import Formatting hiding (format, sformat, text, stext)

Synopsis

Documentation

text :: Format r (Text -> r) Source

Output a strict Text.

ltext :: Format r (Text -> r) Source

Output a lazy Text.

styled :: Format r (StyledText -> r) Source

Render an IRC styled message.

nickname :: Format r (Nickname -> r) Source

Output an IRC nickname as plain text.

channel :: Format r (Channel -> r) Source

Output an IRC channel name as plain text.

message :: Format r (MsgContent -> r) Source

Output IRC message content as plain text.