irc-core-2.3.0: IRC core library for glirc

Copyright(c) Eric Mertens 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Irc.Codes

Description

This module defines support for working with IRC's numeric reply codes. Pattern synonyms are provided for each of the possible IRC reply codes.

Reply code information was extracted from https://www.alien.net.au/irc/irc2numerics.html

Synopsis

Documentation

replyCodeInfo :: ReplyCode -> ReplyCodeInfo Source #

Compute information for a reply code

defaultReplyCodeInfo :: Int -> ReplyCodeInfo Source #

Categorize a reply code using the unknown category and simply showing the reply code's number as its name.

replyCodeInfoTable :: Vector ReplyCodeInfo Source #

Information about reply codes as derived from Freenode's ircd-seven.