
I got into a discussion with folks in my local circle of computer heads. I was talking about what I liked about Haskell. Most of the local circle are sold on the idea that Perl is the best language ever written. They eventually challenged me: show us a web site that is being served by Haskell. Does anyone out there run a web site using Haskell? How much effort would be involved in creating a haskell_mod to plug into apache? Shawn

Shawn P. Garbett wrote (on 12-05-03 08:44 -0500):
I got into a discussion with folks in my local circle of computer heads. I was talking about what I liked about Haskell. Most of the local circle are sold on the idea that Perl is the best language ever written. They eventually challenged me: show us a web site that is being served by Haskell.
What would that prove?
Does anyone out there run a web site using Haskell? How much effort would be involved in creating a haskell_mod to plug into apache?
Zero effort. http://losser.st-lab.cs.uu.nl/mod_haskell/ Also see: Haskell Server Pages Functional Programming and the Battle for the Middle Tier (2001) Erik Meijer, Danny van Velzen http://citeseer.nj.nec.com/meijer01haskell.html Regards, -- Frank

hi, Frank Atanassow wrote:
Shawn P. Garbett wrote (on 12-05-03 08:44 -0500):
I got into a discussion with folks in my local circle of computer heads. I was talking about what I liked about Haskell. Most of the local circle are sold on the idea that Perl is the best language ever written. They eventually challenged me: show us a web site that is being served by Haskell.
What would that prove?
Does anyone out there run a web site using Haskell? How much effort would be involved in creating a haskell_mod to plug into apache?
Zero effort.
and along those lines... show me a compiler written in perl... (of course now a discussion of what exactly is a compiler would be appropriate :-) this is a bit emberassing, but this site does not seem to work... could anyone try out the demos? i got "internal server errors" and "file not found". bye iavor

----- Original Message -----
From: "Iavor Diatchki"
hi,
Frank Atanassow wrote:
Shawn P. Garbett wrote (on 12-05-03 08:44 -0500):
I got into a discussion with folks in my local circle of computer heads. I was talking about what I liked about Haskell. Most of the local circle are sold on the idea that Perl is the best language ever written. They eventually challenged me: show us a web site that is being served by Haskell.
What would that prove?
and along those lines... show me a compiler written in perl... (of course now a discussion of what exactly is a compiler would be appropriate :-)
Does anyone out there run a web site using Haskell? How much effort would be involved in creating a haskell_mod to plug into apache?
Zero effort.
http://losser.st-lab.cs.uu.nl/mod_haskell/ this is a bit emberassing, but this site does not seem to work... could anyone try out the demos? i got "internal server errors" and "file not found".
It works fine here. Maybe try it again otherwise I don't know what is your problem.
bye iavor
Best Regards Alex _______________________________________________
Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Mon, 12 May 2003 23:39:39 +0200
"Alexandre Weffort Thenorio"
http://losser.st-lab.cs.uu.nl/mod_haskell/ this is a bit emberassing, but this site does not seem to work... could anyone try out the demos? i got "internal server errors" and "file not found".
It works fine here. Maybe try it again otherwise I don't know what is your problem.
It's not just Iavor, I get the same problems. Sorry. :-( The experimental Apache 2.0 / GHC version of mod_haskell sounds interesting. Duncan

G'day all. On Mon, May 12, 2003 at 10:10:29AM -0700, Iavor Diatchki wrote:
and along those lines... show me a compiler written in perl...
OK... http://cvs.perl.org/cvsweb/parrot/languages/ They're pretty simple, but most of them count as "compilers". On the other hand, show me a telephone exchange written in Perl and then I'll be impressed. Cheers, Andrew Bromage

Iavor Diatchki wrote (on 12-05-03 10:10 -0700):
http://losser.st-lab.cs.uu.nl/mod_haskell/ this is a bit emberassing, but this site does not seem to work... could anyone try out the demos? i got "internal server errors" and "file not found".
I sent some mail to Armijn, one of the maintainers. (The other, Eelco Dolstra, is on vacation.) Here is his reply:
On Tue, May 13, 2003 at 04:08:08PM +0200, Frank Atanassow wrote:
Hi Armijn,
Some people (but not me) are having problems viewing the mod_haskell pages. Any idea why?
Ehr...yeah...I think it's your cache, because they are right. The demos are currently not working. We (CC: Eelco) need to do some porting work first. We have upgraded Apache, not recompiled the modules, etc. We used GreenCard for it, it should be rewritten to use H/Direct or so...
But, for neither Eelco nor me it's top priority, so if anyone else wants to take ownership of the project, fine with me...
Regards, -- Frank

On Mon, 12 May 2003, Shawn P. Garbett wrote:
I got into a discussion with folks in my local circle of computer heads. I was talking about what I liked about Haskell. Most of the local circle are sold on the idea that Perl is the best language ever written. They eventually challenged me: show us a web site that is being served by Haskell.
One concrete example: solutions to programming laboratories on my introductory programming course are submitted using a system implemented with Wash/CGI. Students log in to the system, register their lab group (they work in pairs), and then see a group home page via which they can upload solutions and see feedback from their tutor -- there are four different pages in this interface. Tutors have a similar interface where they see all submissions waiting for their comments, and I have an administrators interface where I can track the progress of the entire class, extract the list of students who passed, prepare submissions for automated cheat-detection, and so on. The entire system is about 650 lines of Haskell and took two or three days to write, the biggest problem being coping with the strange way our web server is configured! (The administrator's interface is a bit crudely implemented, since only I have to use it!) It was used by 170 students and eight tutors on my course alone, and has since been adopted for other courses. Performance is completely satisfactory, not surprisingly. The system replaced manual handing in, correction, and reporting of labs, and was a dramatic improvement. For obvious reasons the system isn't publicly available, but you can see how the student interface appears here: http://www.cs.chalmers.se/Cs/Grundutb/Kurser/d1pt/d1pta/submission/lab-submi... That's just one example of a fairly small but "real world" system implemented in Haskell with Wash/CGI. I'm sure there must be many others. John
participants (7)
-
Alexandre Weffort Thenorio
-
Andrew J Bromage
-
Duncan Coutts
-
Frank Atanassow
-
Iavor Diatchki
-
John Hughes
-
Shawn P. Garbett