erochest/ribot — Issue #5: Refactor architecture
Author: erochest
Created: 2011-12-11 02:45:46+00:00
State: open
Labels: task

The monad stack doesn't represent the architecture of the system very well. Something like this would be more flexible:

Db Irc Config IO a

Db and Irc would be StateT, and Config would be ReaderT.

Primarily, this would involve renaming a bunch of things and splitting the two parts of the current state types into their own monads.