Re: [Haskell-cafe] Trapping getChar before echo

2010-01-31 Thread Michael Hartl
import System.IO import Data.Char main = do hSetEcho stdin False hSetBuffering stdin NoBuffering hSetBuffering stdout NoBuffering scanLine where scanLine = do c - hGetChar stdin putChar . toUpper $ c scanLine Am Sonntag, den 31.01.2010,

Re: [Haskell-cafe] Takusen - reading from one db inserting into another

2010-01-18 Thread Michael Hartl
Don't know if you can have two connections, sounds difficult in regard to the DBM monad. Only the deveolopers will know. However, two obvious solutions come to my mind: 1) build a result set and process it after returning from DBM or 2) use two separate threads and send the queried data from your

Re: [Haskell-cafe] Language simplicity

2010-01-12 Thread Michael Hartl
Am Dienstag, den 12.01.2010, 22:22 + schrieb Andrew Coppin: Niklas Broberg wrote: Haskell '98 apparently features 25 reserved words. (Not counting forall and mdo and so on, which AFAIK are not in Haskell '98.) 21 actually. case, class, data, default, deriving, do, else, if,

[Haskell-cafe] Happstack with XML-RPC

2009-12-22 Thread Michael Hartl
Hello, has anybody ever used Happstack as XML-RPC-Server? Perhaps in conjunction with HaXR? I like the architecture of Happstack and would like to use it in a project where I have to use HTML as well as XML-RPC, now to me it would make sense to integrate XML-RPC abilities into Happstack, since

Re: [Haskell-cafe] ANN: Happstack 0.4.1

2009-12-20 Thread Michael Hartl
What is the relationship between HAppS and Happstack? I actually thought that Happstack was the former name of HAppS, but now it seems that I'm wrong...? Regards Am Samstag, den 19.12.2009, 18:17 -0600 schrieb Jeremy Shaw: Happstack 0.4.1 STABLE is now available. We recommend that all users

Re: [Haskell-cafe] ANN: Happstack 0.4.1

2009-12-20 Thread Michael Hartl
Ah, that's it. ;-) Thanks! Am Sonntag, den 20.12.2009, 22:23 +1000 schrieb Ivan Lazar Miljenovic: Michael Hartl mikeha...@web.de writes: What is the relationship between HAppS and Happstack? I actually thought that Happstack was the former name of HAppS, but now it seems that I'm wrong