Re: type class problem

2003-09-30 Thread oleg
Dean Herington wrote: > Can someone explain why the following doesn't work? > {-# OPTIONS -fglasgow-exts #-} > class R r where > rId :: r -> String > class (R r) => RT r t where > rtId :: r -> t -> String > data RPair r1 r2 = RPair r1 r2 > instance (R r1, R r2) => R (RPair r1 r2) where >

Re: "interact" behaves oddly if used interactively

2003-09-30 Thread Christian Maeder
"main=interact id" basically echoes every line of my input, whereas "main=interact show" correctly waits for EOF before outputting something. Which of these are you claiming is wrong? I guess "interact" does what it should, but I think it should be changed to avoid interleaved in- and output. l

RE: "interact" behaves oddly if used interactively

2003-09-30 Thread Simon Marlow
> For GHC (6.0.1) > > "main=interact id" basically echoes every line of my input, whereas > "main=interact show" correctly waits for EOF before > outputting something. Which of these are you claiming is wrong? This is the behaviour I'd expect in both cases (although I'd have to go and careful

"interact" behaves oddly if used interactively

2003-09-30 Thread Christian Maeder
Hi, For GHC (6.0.1) "main=interact id" basically echoes every line of my input, whereas "main=interact show" correctly waits for EOF before outputting something. Furthermore the buffering mode must be "LineBuffering". If I explicitely set the buffering to "NoBuffering" I'm not able to enter EOF

Re: Interfaces Greencard // Postgres DB

2003-09-30 Thread Gottfried F. Zojer
Thanks fro the reply Well the installment fails . He more infos : Thats the error : error: failed dependencies: haskell is needed by greencard-2.05-1 Thats in my /etc/profile.local : PATH=$PATH:/home/hugs98-Dec2001/bin/export PATH Thats when I type hugs in a bash : Hugs sess

Call for Papers: ICFP 2004

2003-09-30 Thread Kathleen Fisher
Ninth Annual ACM SIGPLAN International Conference on Functional Programming Call for Papers ICFP 2004 September 20-22, 2004 Snowbird, Utah * Important Dates - Submission deadline 23:00 01 Ap