Jump to navigation Jump to search
- "H" is a
Stringwith just one element.
- 'Hello World' is invalid because
Chars consist of only one character.
What are the types of the following functions? For any functions involving numbers, you can just pretend the numbers are Ints.
negate :: Int -> Int
|| :: Bool -> Bool -> Bool
monthLength :: Bool -> Int -> Int
And in the second round:
f :: Bool -> Bool -> Bool
g :: Int -> Int