irc-core-2.3.0: IRC core library for glirc

Irc.Identifier

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

Identifier representing channels and nicknames

Instances

 Source # Equality on normalized identifier Methods Source # Comparison on normalized identifier Methods Source # Read as string literal Methods Source # Show as string literal MethodsshowList :: [Identifier] -> ShowS # Source # @fromString = mkId . fromString Methods Source # Hash on normalized identifier Methods

Returns a ByteArray of an Identifier which is suitable for comparison or hashing which has been normalized for case.

Construct an Identifier from a ByteString

Returns the original Text of an Identifier

Returns the case-normalized Text for an identifier.

Returns True when the first argument is a prefix of the second.