sending values between actions

Nuno Silva
Sun, 16 Dec 2001 07:41:03 -0800 (PST)

can anyone tell me how to send values from one action
to another???

I have 

main0 = do s <- getLine
          writeFile "text.txt" s

main1 = do ....

I'd like to use main0 info on main1 action to build a 
nXm multisquares box... anyone understood this????
please help...


Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at
or bid at