fastirc-0.1.1: Network/FastIRC/Session.hs
-- |
-- Module: Network.FastIRC.Session
-- Copyright: (c) 2010 Ertugrul Soeylemez
-- License: BSD3
-- Maintainer: Ertugrul Soeylemez
-- Stability: experimental
--
-- This module implements the 'IRC' monad, which you can use to write
-- IRC applications.
--
-- This module is completely useless for now.
module Network.FastIRC.Session
( Config(..),
IRC
)
where
import MonadLib
import Network.FastIRC.ServerSet
-- | Session configuration.
data Config =
Config {
cfgServers :: ServerSet
}
-- | Monad for IRC sessions.
type IRC = StateT Config IO