irc-conduit

Streaming IRC message library using conduits.

https://github.com/barrucadu/irc-conduit

Version on this page:0.3.0.4
LTS Haskell 19.33:0.3.0.5
Stackage Nightly 2022-03-17:0.3.0.5
Latest on Hackage:0.3.0.6

See all snapshots irc-conduit appears in

MIT licensed by Michael Walker
Maintained by [email protected]
This version can be pinned in stack with:irc-conduit-0.3.0.4@sha256:da6409c21e4a45d014de5d7256aed0fff7c68c15bdff3c4ce2532f7aaf15db8e,4097

Module documentation for 0.3.0.4

IRC messages consist of an optional identifying prefix, a command name, and a list of arguments. The irc package provides a low-level decoding and encoding scheme for messages in terms of ByteStrings, but using this relies on matching names of commands as strings, and unpacking this decoded structure yourself. This package takes it a little further, providing an ADT for IRC messages and sources, and conduits which attempt to decode and encode messages appropriately.

In addition to providing conduits for automatically handling streaming messages, there are also helper functions for connecting to an IRC server and hooking up conduits to the socket.