Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.IRC.Fun.Types.Base
- newtype Hostname = Hostname {
- unHostname :: Text
- newtype ServiceName = ServiceName {}
- newtype Username = Username {
- unUsername :: Text
- newtype Nickname = Nickname {
- unNickname :: Text
- newtype Channel = Channel {}
- newtype CmdName = CmdName {}
- newtype CmdNumber = CmdNumber {
- unCmdNumber :: Int
- type Parameter = Text
- newtype MsgContent = MsgContent {
- unMsgContent :: Text
- newtype Password = Password {
- unPassword :: Text
- newtype ChannelKey = ChannelKey {
- unChannelKey :: Text
- newtype ChannelTopic = ChannelTopic {}
- newtype RealName = RealName {
- unRealName :: Text
- newtype Comment = Comment {}
- newtype PortNumber = PortNumber {
- unPortNumber :: Int
- data Privilege
- data ChannelPrivacy
Documentation
IRC server hostname, e.g. orwell.freenode.net
Constructors
Hostname | |
Fields
|
System user name, i.e. the first part of user@host.tld
Constructors
Username | |
Fields
|
IRC nickname
Constructors
Nickname | |
Fields
|
IRC channel name (including the prefix character), e.g. #freepost
IRC protocol command name, i.e. PRIVMSG
IRC protocol numeric command number
Constructors
CmdNumber | |
Fields
|
newtype MsgContent Source #
Chat message content, i.e. a message or a part of a text message meant to be sent or received between people through IRC.
Constructors
MsgContent | |
Fields
|
Instances
IRC connection password.
Constructors
Password | |
Fields
|
newtype ChannelKey Source #
IRC channel password.
Constructors
ChannelKey | |
Fields
|
Instances
A user's "real name" as kept by the IRC server.
Constructors
RealName | |
Fields
|
An optional comment used by several IRC commands, e.g. a part message, which is a line shown when a user leaves a channel.
newtype PortNumber Source #
Network port number.
Constructors
PortNumber | |
Fields
|
Instances
IRC privilege status for a user in the context of a specific channel.