Task

Explain or demonstrate the levels of visibility of function names and labels within the language.



See also

 Variables for levels of scope relating to visibility of program variables
 Scope modifiers for general scope modification facilities


 
add3 :: Int -> Int-> Int-> Int
add3 x y z = add2 x y + z
 
add2 :: Int -> Int -> Int
add2 x y = x + y
 
main :: putStrLn(show (add3 5 6 5))
 