Re: Binary, Conversions, and CGI

1998-05-06 Thread Simon L Peyton Jones
> To the newcomer who is not part of the FP academic community, this all > makes life sort of difficult. These differences seem larger than the > differences among C compilers and are MUCH larger than the differences > among Java compilers. I have been trying to learn Haskell and have been >

Re: Binary, Conversions, and CGI

1998-05-04 Thread Fermin Reig
> Alex Jacobson writes: [...] > > To the newcomer who is not part of the FP academic community, this all > makes life sort of difficult. These differences seem larger than the > differences among C compilers and are MUCH larger than the differences > among Java compilers. I have been trying

Re: Binary, Conversions, and CGI

1998-05-03 Thread S. Alexander Jacobson
This is getting a bit confusing. * the content of the Haskell report itself is at least a bit hallucinatory (in addition to being somewhat difficult to understand). * It seems like each Haskell distribution has its own peculiarities and libraries e.g. greencard, variable tuples, read/write bina

Re: Binary, Conversions, and CGI

1998-05-01 Thread Alastair Reid
> All the IO operators seem to be about Chars and claim to be unicode. > If they are unicode, does that mean they read 2 bytes at a time of the > input stream? Unicode support is a figment of the Haskell report's imagination. Hugs and GHC don't support unicode - nor is there any great rush to d

Re: Binary, Conversions, and CGI

1998-05-01 Thread Malcolm Wallace
Alex Jacobson writes: > 1. Generating GIFs > I need to create a CGI script that returns a GIF. The docs are somewhat > unclear about how to do this. > > All the IO operators seem to be about Chars and claim to be unicode. > If they are unicode, does that mean they read 2 bytes at a time of the

Re: Binary, Conversions, and CGI

1998-05-01 Thread Jeffrey R. Lewis
Alastair Reid wrote: > > 3. CGI startup and HUGS > > Hugs scripts seem to take a very long time to start up. > > Testing with this: > > > main = putStr "content-type: text/html\n\nhello world\n" > > Hugs scripts have a noticeable response delay. > > The equivalent Perl, C, and GHC executables all