Hello, after a reinstallation of our newsserver we had problems to import some vitally old articles due to its incompatibility. So I have written a little Haskell program which converts news articles into expect scripts, which repost them. This is really dirty. Is there a Haskell library which allows direct communication like telnet? It would be quite cool to have a library which provides e.g. a kind of monad for the conversation with such servers, which takes care for errors and the protocol, so that you can roughly write: do s<-connectNews server groups<-listOfGroups s haskell<-searchFor "haskell" groups articles<-listOfArticles haskell article<-searchFor "obfuscated" articles reply article (Art "Steffen.Mazanek@UniBw-Muenchen.de" (reSubj article) haskell "These programms are really cool") disconnect s Is there such a library? Can someone provide an example of its usage? Ciao, Steffen Mazanek -- Haskell: that's where I just curry until fail, unwords any error, drop all undefined, maybe break, otherwise in sequence span isControl and take max $, id: (d:[])
participants (1)
-
Steffen Mazanek