MR K P SCHUPKE wrote:

simplest way... use a recursive function that feeds itself the
state as one of its arguments...




Mmm, yes I had thought of that. But I wasn't sure how it would work, as you can't have variables in the same sense as imperative languages. So if I create a mainloop sort of function, that passes the old state into itself, then would I have to modify the output within that fucntion to get it to display to the user, correct? Thanks for the response!

Regards,
Scott
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to