The idea is that `hasIndex f` creates a page that prompts for a string, then (after the page is submitted) calls the function f with the input string as parameter and shows the resulting page.
By the way, \ is just the Haskell syntax for lambda -- hey, whaddayaknow, it's one character shorter than `fn` :-)
But I like Haskell. :-) Interesting, how long will be explicit declaration of form.
BTW, this is your imagination or you are using something real and this can be used just now for web programming?