Roy Smith:
>How do you do any I/O in a functional language if side effects are 
>verboten?  

The user is a function. Output is its parameter, input its return value.
The user is not allowed to maintain state ;-)

>For that matter, how does a functional program ever stop running?

By returning to the caller.

-- 
René Pijlman
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to