#2452: Add a flag to disable the implicit qualified import of every available
module in interactive mode
-------------------------------------+--------------------------------------
Reporter: jcpetruzza | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 6.10.1
Component: Compiler (Type checker) | Version: 6.9
Severity: minor | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
-------------------------------------+--------------------------------------
Comment (by guest):
So, I'd just like to mention an example of why I really don't like this
bug: it forces me to use stuff like the Hint sandboxing to work around it.
Why is this so bad? Well, I just blew 5 or 6 hours this evening because of
the Hint sandboxing. I was trying to add UTF support, since lambdabot can
handle it, and I was having serious problems: each and every time
compilation failed with UTF chars, even though they are perfectly valid in
GHCi and Lambdabot.
As I eventually discovered: turns out that while evaluating straight
through the GHC API works fine when your expression contains strange UTF
characters, Hint's sandboxing internally works via writing a module to a
file and also one's expression. And of course it uses the usual
'writeFile' function, and as we all know, the basic GHC IO functions are
all broken w/r/t Unicode, and of course I didn't remember that the
sandboxing flag changed the route. And that is how my evening was wasted.
Now, is it this bug/GHC's fault that Hint used the standard IO functions
instead of uft8-string's functions? No. (Well, maybe in the broader
sense.) Is it even Hint's fault? Not really. But the fact remains that my
evening was quite unpleasant because of this unchangeable behavior.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2452#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs