[1 of 1] Compiling Main ( prog.hs, prog.o )
prog.hs:3:18:
Not in scope: reverse'
Perhaps you meant one of these:
`reverse' (line 2), `reverse' (imported from Prelude)
prog.hs:5:14:
Ambiguous occurrence `reverse'
It could refer to either `Main.reverse', defined at prog.hs:2:1
or `Prelude.reverse',
imported from `Prelude' at prog.hs:1:1
(and originally defined in `GHC.List')