| |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Description | |||||||||||||||||||||||||||||||
Datatypes for representing IRC messages, as well as formatting them. | |||||||||||||||||||||||||||||||
Synopsis | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Type Synonyms | |||||||||||||||||||||||||||||||
type Parameter = String | |||||||||||||||||||||||||||||||
type ServerName = String | |||||||||||||||||||||||||||||||
type UserName = String | |||||||||||||||||||||||||||||||
type RealName = String | |||||||||||||||||||||||||||||||
type Command = String | |||||||||||||||||||||||||||||||
IRC Datatypes | |||||||||||||||||||||||||||||||
data Prefix | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
data Message | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Formatting functions | |||||||||||||||||||||||||||||||
encode :: Message -> String | |||||||||||||||||||||||||||||||
Encode a message to its string representation | |||||||||||||||||||||||||||||||
showMessage :: Message -> String | |||||||||||||||||||||||||||||||
showPrefix :: Prefix -> String | |||||||||||||||||||||||||||||||
showParameters :: [Parameter] -> String | |||||||||||||||||||||||||||||||
translateReply | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
replyTable :: [(String, String)] | |||||||||||||||||||||||||||||||
Deprecated | |||||||||||||||||||||||||||||||
render :: Message -> String | |||||||||||||||||||||||||||||||
This is the deprecated version of encode | |||||||||||||||||||||||||||||||
Produced by Haddock version 0.8 |