1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
|
Prelude> :load test.hs
[1 of 1] Compiling Main ( test.hs, interpreted )
Ok, modules loaded: Main.
*Main> succ
succ succ
*Main> succ 5
<interactive>:4:1:
Ambiguous occurrence `succ'
It could refer to either `Main.succ', defined at test.hs:2:1
or `Prelude.succ',
imported from `Prelude' at test.hs:1:1
(and originally defined in `GHC.Enum')
|