[Haskell-cafe] web musing

Conor McBride conor at strictlypositive.org
Fri Jun 5 11:18:51 EDT 2009


Comrades

I'm in a perplexing situation and I'd like to appeal to the
sages.

I've never written anything other than static HTML in my life,
and I'd like to make a wee web service: I've heard some
abbreviations, but I don't really know what they mean.

I've got a function (possibly the identity, possibly const "",
who knows?)

   assistant :: String -> String

and I want to make a webpage with an edit box and a submit
button. If I press the submit button with the edit box
containing string s, I'd like the page to reload with the
edit box reset to (assistant s).

Will I need to ask systems support to let me install some
haskelly sort of web server? Looks likely, I suppose.

In general, what's an easy way to put a web front end on
functionality implemented in Haskell?

Hoping this isn't a hard question

Conor



More information about the Haskell-Cafe mailing list