[Haskell-cafe] Re: why 'try' not work in parsec

2008-11-23 Thread Changying Li
thannks very much!! -- Thanks & Regards Changying Li ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] why 'try' not work in parsec

2008-11-22 Thread Changying Li
expecting space, letter, "\"", digit, "'", "(" or ")" I think it failed in parseList because when I rewrite 7th line in parseExpr as: x <- (try parseDottedList) <|> parseList it work. so my question is: if it is failed in

[Haskell-cafe] Re: a question about Database.HDBC.ODBC

2008-09-17 Thread Changying Li
RowCount returns 1 1 rows fetched I'm not sure where is the problem. another problem is, the isql is not read configuration in ~/.dbic Mads Lindstrøm <[EMAIL PROTECTED]> writes: > Hi, > > Changying Li wrote: >> I want to use hdbc to connect my mysql test db. s

[Haskell-cafe] a question about Database.HDBC.ODBC

2008-09-17 Thread Changying Li
it should succeed. 2. when using UID=chylli, why the user in 'show processlist' is not chylli but 'chylli¶è' ? if it use account 'chylli', that connection should fail. but in fact it succeed !!! -- Thanks & Regards Changying Li ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] why isn't the thread blocked?

2008-08-16 Thread Changying Li
d of file test.hs: /tmp/c: hGetChar: end of file I think the thread will be blocked when /tmp/b has nothing. but it get EOF, why ? -- Thanks & Regards Changying Li ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: please help me to find errors from my first app

2008-08-10 Thread Changying Li
thanks. I know how to do it. I should treat it as a stream. -- Thanks & Regards Changying Li ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] please help me to find errors from my first app

2008-08-08 Thread Changying Li
putStr $ '<' `cons` (' ' `cons` response) hPut hRequest response hClose hRequest hClose hResponse -- Thanks & Regards Changying Li ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe