Re: [Haskell-cafe] Writing an IRC bot, problems with plugins

2008-11-06 Thread Bertram Felgenhauer
Alexander Foremny wrote: > I am writing an single server, multi channel IRC bot with the support of > plugins and limited plugin communication. With the plugin system I am facing > problems I cannot really solve myself. Here's an approach built completely around Data.Typeable. The fundamental idea

Re: [Haskell-cafe] Writing an IRC bot, problems with plugins

2008-11-05 Thread Don Stewart
alexanderforemny: >My general idea is to have the main application listening to the network >socket and then calling all the plugins on each incoming message. >Therefore I maintain a list of plugin states in the main application's >state and on each incoming message I call a functio

[Haskell-cafe] Writing an IRC bot, problems with plugins

2008-11-05 Thread Alexander Foremny
Hello, Community. I already bothered #haskell a few times with the very same problem and always got interesting responses. But I seem to have always simplified my problem too much ending up with an helpful answer to my (simplified) problem, but not with a real solution. Thus I'm giving the mailing