> 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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe