[Haskell-cafe] Re: Weird ghci behaviour?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Nov 14 09:44:39 EST 2007


On Nov 14, 2007, at 3:28 , Simon Peyton-Jones wrote:

> I agree that an informative error message is worth 100 manual  
> pages.  The trouble is that at this stage GHCi doesn't even *know*  
> that 'x' ever existed, because it's not mentioned in the interface  
> file, so it's hard to do even give the error message you suggest.

Not really.  Include the hint on the first "symbol not found" error  
after loading a binary module as a "Perhaps you need to -fforce- 
recomp?"; it doesn't really matter if it turns out the symbol-not- 
found was actually e.g. a typo.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list