Sergey,

> I have an impression that interactive `let' in 
> ghc-5.00.2  (binary distribution for linux i386-unknown)
> 
> looses visibility of some instances.  
> Having installed my ghc package  docon,  with its libraries,
> I command
> 
>      ghci $doconOpts
>      ...
>      Loading package docon ... linking ... done.
>      Prelude> :m DExport
>      DExport> let {q1 = 1:/1 :: Fraction Z;  dQ = upField q1 eFM; 
>                    (_,rR) = baseRing q1 dQ
>                   } 
>               in  subringChar rR
>      Just 0                            
> 
> - and this is correct.
> Changing the `let' part to  DExport> let q1 = 1:/1 :: Fraction Z
>                             DExport> let dQ = upField q1 eFM
> yields the report
> 
>   <no file>:0:
>     No instance for `Field (Fraction Z)'
>     arising from use of `upField' at <no file>:0
>     in the definition of function `dQ': upField q1 eFM

We believe this bug is now fixed.  Hopefully we'll get a snapshot out
within the next day or two; it would be helpful if you could try it out
and let us know if it fixes the bug for you.

Cheers,
        Simon

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to