
5 May
2005
5 May
'05
12:16 p.m.
module Main where
main = do putStr (show (foo 3)) putStr "\n" putStr (show (foo 7)) putStr "\n" putStr (show y)
foo x = (x + 2) / y where y = 2 * 2
And how do I see functions or variables defined inside of other functions? In example above - y Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html