Binary, Conversions, and CGI

1998-04-30 Thread S. Alexander Jacobson
I have been writing CGI scripts in Haskell for a bit and am starting to get the hang of it. 1. Generating GIFs I need to creaet 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 ar

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 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 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

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-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-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: Haskell documentation (was: Binary, Conversions, and CGI)

1998-05-04 Thread Olaf Chitil
Fermin Reig wrote: > However, as Alex Jacobson points out, life is not very easy for the > newcomer. We could make it a little easier by providing better access > to documentation. For documentation have a look at http://www-i2.informatik.rwth-aachen.de/Forschung/FP/Haskell/ and especially the

Re: Haskell documentation (was: Binary, Conversions, and CGI)

1998-05-04 Thread S. Alexander Jacobson
Thank you. This documentation helps a lot. It doesn't really answer the politics question per se, but it does provide a lot of useful pointers. I strongly the maintainers of Haskell.org ([EMAIL PROTECTED]?) to put a link to this material on their pages (at least until Haskell.org is no longer