Hello Jason,

Wednesday, November 5, 2008, 3:12:29 AM, you wrote:

>   Many useful programs that I would like to write in Haskell
>   don't fall into this category -- for example, network servers
>   -- but a lot of their components do. Can these components can
>   be Haskell functions without IO in their signatures?

pure function is one those result depends only on its arguments. as
far as you can provide "input stream" as an function argument, it
should be possible to write it in pure way (as far as you don't
concern efficiency. sometimes imperative algorithms mauy be just
faster than pure ones since data structures are different)


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to