M
Size: a a a
M
D
D
DP
Prelude> let func :: Integer -> String; func n = if n then "a" else "b"
<interactive>:6:44:
Couldn't match expected type ‘Bool’ with actual type ‘Integer’
In the expression: n
In the expression: if n then "a" else "b"
D
Prelude> let func :: Integer -> String; func n = if n then "a" else "b"
<interactive>:6:44:
Couldn't match expected type ‘Bool’ with actual type ‘Integer’
In the expression: n
In the expression: if n then "a" else "b"
W
D
DP
D
DP
DP
CD
Prelude> let func :: Integer -> String; func n = if n then "a" else "b"
<interactive>:6:44:
Couldn't match expected type ‘Bool’ with actual type ‘Integer’
In the expression: n
In the expression: if n then "a" else "b"
M
DP
DP
DP
W
M
W
M