import Prelude hiding ...
isn't working in a cabal repl
shell
#10786
Labels
import Prelude hiding ...
isn't working in a cabal repl
shell
#10786
Describe the bug
Hiding functions from Prelude with
import Prelude hiding ...
doesn't work incabal repl
. It works fine inghci
.To Reproduce
Steps to reproduce the behavior:
cabal init
cabal repl
Try hiding something from prelude:
A more minimal test:
It seems
hiding
is ignored.Expected behavior
function from Prelude gets hidden to avoid error when overloading it from another package.
It works in a plain
ghci
shell:System information
The text was updated successfully, but these errors were encountered: