[Hugs-users] Weird behaviour,
was Re: [Haskell-cafe] Writing functions in Haskell.
ross at soi.city.ac.uk
Tue May 3 14:16:54 EDT 2005
On Tue, May 03, 2005 at 07:59:51PM +0200, Daniel Fischer wrote:
> Hm, I don't quite get it. Apparently whenever I ask :info Qualified.name with
> a qualification different from the top module, I lose all qualified names,
> even from explicitly imported modules -- right?
Yes, :info M.f is implemented as :m M, :i f, :m OriginalModule, and the
module switch does the damage.
> Okay, that's not a problem, only a little odd.
I'm not claiming it's a feature.
> Now I encountered another odd thing:
> Char> :l
> Prelude> :a Char
> Char> :a Test
> Char> :l -- notice the top module is still Char!
> Prelude> :a Test
> Test> :a Char
> in that session, this behaviour was reproducible, in later sessions it wasn't:
I can't reproduce it either. What was the first part of the first session?
More information about the Hugs-Users