irc-fun-client-0.2.0.0: Another library for writing IRC clients.

Safe HaskellNone
LanguageHaskell2010

Network.IRC.Fun.Client

Description

Here is an overview of the library, by module:

  • IO: Provides functions for connecting to an IRC server, and for sending and receiving IRC messages.
  • Commands: Provides functions for sending IRC commands to the server.
  • Events: Provides an Event type and functions for receiving IRC events. These events are an abstraction on top of IRC messages.
  • ChannelLogger: Provides a system for logging IRC channel activity into a file.
  • Time: Provides an efficient scalable way to get the current time, and a formatted time string for use in the logger.
  • NickTracker: Provides functions for tracking channels and their members
  • Util: Miscellaneous helper functions which could be useful to clients

If you're writing an IRC client, here is a suggestion for how to begin:

  1. Use functions from IO module to connect to an IRC server
  2. Use functions from Commands module to send common IRC commands
  3. Write an events loop which listens to the IRC server input and responds, and a UI component which reacts to user-initiated commands. Use the Events module to receive high-level events. If you have a specific need to receive IRC messages directly, use functions from the IO module.