Irc

Irc is a monadic DSL and library for writing Irc bots


Keywords
library, network, Propose Tags, , Index, Irc, Irc-0.1.0.2.tar.gz, browse, Package description, Package maintainers, yunxing, edit package information , 0.1.0.1, 0.1.0.2
License
GPL-2.0-only
Install
cabal install Irc-0.1.0.2

Documentation

Irc is a monadic DSL and library for writing Irc bots.

It conveniently utilizes 'do' notation in the style similar to Shake

You can write something like:

    main :: IO ()
    main = mainWithConfigAndBehavior (Config
                                   "irc.freenode.org"
                                   6667
                                   "#yunbot-testing"
                                   "yunbot") $ do
          "!echo " |! return . drop 6
          "!reverse " |! return . reverse . drop 9