Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
- 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:
- Use functions from IO module to connect to an IRC server
- Use functions from Commands module to send common IRC commands
- 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.