views:

309

answers:

7

Hello,

This is a simple question: what are the most popular/used/developed (libraries a plus) functional programming languages that are ready to be used for web development? I don't mind if they're pure languages or not, but I would prefer to exclude such languages as Ruby and Python. I am thinking along the lines of F# or Scheme (and those these aren't pure functional programming languages, I don't mind, I'm simply looking for a language that can work with types fluently).

Since asking this question the main languages that have been recommended are Haskell, Lisp, and Scheme.

Thanks.

Edits:
-Checked out http://stackoverflow.com/questions/1230046/state-of-web-development-using-functional-programming-language which seems to favor a Lisp.
-How-to for web programming with Lisp or Scheme: http://stackoverflow.com/questions/1275547/how-i-can-do-web-programming-with-lisp-or-scheme/1275667#1275667

+1  A: 

PLT Racket has a webserver use.

I believe mod_lisp makes any Lisp available for web use.

Also, this StackOverflow question talks about using Haskell as a web language.

Greg
+6  A: 

OCaml has a web framework, Ocsigen

The language also comes with some nifty utilities that makes easy to build simple web applications, like netplex module (I've used it before in a school project, an mvc framework, it did almost all the web/socket part)

Chubas
+1  A: 

You might want to take a look at Erlang's Webmachine, MochiWeb (includes a bunch of libraries), Nitrogen, etc.

http://bitbucket.org/justin/webmachine/wiki/Home

http://github.com/mochi/mochiweb

http://nitrogenproject.com/

rak5hasa
+4  A: 

These are the few I could remember top of my head:

missingfaktor
+1 for Lift, it's already in commercial use. See here: http://www.softwaresecretweapons.com/jspwiki/twitter-linkedin-to-migrate-to-scala-should-you
wheaties
A: 

This answer is partly in jest, but some people try their best to do functional programming in JavaScript:

http://osteele.com/sources/javascript/functional/
http://stackoverflow.com/questions/145053/javascript-as-a-functional-language

Using the same language on client and server has to count as a plus, even if the language isn't purely functional.

Joeri Sebrechts
+1  A: 

I have not used it myself, but WebSharper looks interesting.

Brian
+1 yeah that looks interesting...
gnucom
+1  A: 

Haskell has a plethora of web frameworks. The most well-established framework is Happs, but there are several new and active projects:

The full list is on the Haskell wiki.

Simon Marlow