Re: [Haskell-cafe] more on my ghc package issues

2008-04-13 Thread Duncan Coutts
On Sat, 2008-04-12 at 23:33 -0500, Galchin, Vasili wrote: 2) This strongly looks like the package database manager, i.e. ghc-pkg. Source please so I can understand where this d*amn unknown package: unix-2.3.0.0 message is coming from and why? Yes, ghc/ghc-pkg is giving this message because

[Haskell-cafe] RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Johan Tibell
Good day hackers, The Python community have been successful in standardizing an interface between web server and applications or frameworks resulting in users having more control over their web stack by being able to pick frameworks independently from web servers, and vice versa. I propose we try

Re: [Haskell-cafe] RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Manlio Perillo
Johan Tibell ha scritto: Good day hackers, The Python community have been successful in standardizing an interface between web server and applications or frameworks resulting in users having more control over their web stack by being able to pick frameworks independently from web servers, and

Re: [Haskell-cafe] RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Brandon S. Allbery KF8NH
On Apr 13, 2008, at 10:21 , Manlio Perillo wrote: I'm not yet an Haskell expert, however one of the great feature of WSGI is that the environ is a Python dictionary. This means that the user can add new keys/values in it. I'm using this feature, in my WSGI implementation for Nginx (and in

Re: [Haskell-cafe] install trouble with SDL on win32+cygwin

2008-04-13 Thread Bit Connor
SDL works great on Windows, and you don't even need cygwin. Only ghc is required. There are instructions in the WIN32 file. http://darcs.haskell.org/~lemmih/hsSDL/hssdl/WIN32 2008/4/12 Conal Elliott [EMAIL PROTECTED]: Now I have sdl-config, but still not able to build. Does *anyone* have the

Re: [Haskell-cafe] install trouble with SDL on win32+cygwin

2008-04-13 Thread Conal Elliott
Thanks very much for the pointer, Bit. I had to add \SDL to the end of this def: Include-Dirs: C:\SDL-1.2.12\include and I didn't need to change the Extra-Libraries line. I'm using cygwin, which may make a difference here. Next, I 'cabal install'ed SDL-ttf and discovered that I need the

[Haskell-cafe] Re: RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Adam Langley
On Sun, Apr 13, 2008 at 4:59 AM, Johan Tibell [EMAIL PROTECTED] wrote: * Using a different set of data types would work better. Give that this is Haskell, I'd suggest more types ;) HTTP headers aren't just strings and, at the risk of tooting my own horn, I'll point to the Headers structure in

[Haskell-cafe] Re: RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Daniel McAllansmith
On Mon, 14 Apr 2008 11:06:43 Adam Langley wrote: On Sun, Apr 13, 2008 at 4:59 AM, Johan Tibell [EMAIL PROTECTED] wrote: * Using a different set of data types would work better. Give that this is Haskell, I'd suggest more types ;) HTTP headers aren't just strings and, at the risk of

[Haskell-cafe] Re: [web-devel] RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Sterling Clover
In a sense, the CGIT interface provided by Network.CGI already is a sort of halfway implementation of what we're discussing, no? I'd be interested in approaching this from the other way -- specifying exactly what CGIT doesn't provide and therefore what folks want to see. As far as I can

[Haskell-cafe] Re: RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread John Meacham
Haskell works fine with both the FastCGI and SCGI protocols (There are libraries floating around for both), I have found them much nicer than any mod_* web server plugin in general. John -- John Meacham - ⑆repetae.net⑆john⑈ ___ Haskell-Cafe

[Haskell-cafe] Re: RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Adam Langley
On Sun, Apr 13, 2008 at 6:32 PM, Chris Smith [EMAIL PROTECTED] wrote: Does old code that handled these headers stop working, just because it was looking in the other section, but now needs to check a field dedicated to that header? Yes, but it would be very sad if we couldn't do common

Re: [Haskell-cafe] RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Michaeljohn Clement
I am very interested in this work. One thing missing is support for all HTTP methods, not just those in RFC 2616. As-is, something like WebDAV cannot be implemented. That probably means requestMethod should be a (Byte)String. What about something like sendfile(2) available on some platforms?

Re: [Haskell-cafe] Re: RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Michaeljohn Clement
Adam Langley wrote: On Sun, Apr 13, 2008 at 4:59 AM, Johan Tibell [EMAIL PROTECTED] wrote: * Using a different set of data types would work better. Give that this is Haskell, I'd suggest more types ;) HTTP headers aren't just strings and, at the risk of tooting my own horn, I'll point to

[Haskell-cafe] Re: RFC: A standardized interface between web servers and applications or frameworks (ala WSGI)

2008-04-13 Thread Daniel McAllansmith
On Mon, 14 Apr 2008 13:32:07 Chris Smith wrote: On Sun, 13 Apr 2008 16:06:43 -0700, Adam Langley wrote: On Sun, Apr 13, 2008 at 4:59 AM, Johan Tibell [EMAIL PROTECTED] wrote: * Using a different set of data types would work better. Give that this is Haskell, I'd suggest more types ;)