|COMP1011 Exercises for Week 02|
|Computing 1A 05s2||
Tue 19 Jul 2005 14:37
This week we don't have tutorial exercises, but the following items should be revised to avoid problems with the lab exercises.
mod; discuss the difference between
The following definitions from the lecture should be understood:
module MyPrgm where inc :: Int -> Int inc x = x + 1 average :: Float -> Float -> Float average a b = (a + b) / 2.0Which rules have to be considered when choosing a name for