Robin Green wrote:
> I meant that for *many* but not all 
> practical programming tasks, IO is important.
> ...web applications...

Ha, wrong!  A CGI script only needs getEnv, getContents and putStr, if
it has persistent state, it also needs readFile and writeFile.  Each of
the five is called exactly once per invocation.  The main function is
boiler plate, the bulk of the logic is pure.  Same for a web application
server, only less IO.

 
> Compilers are atypical in this regard.

You wouldn't believe what diverse applications could be summed up under
"compilers".


Udo.
-- 
If I ever write a GUI library for Haskell, I'm going to call it
pointlesstif.
        -- Pseudonym on #haskell

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to