Yes, that might be a good heuristic.  What do others think?

| -----Original Message-----
| From: Simon Marlow [mailto:marlo...@gmail.com]
| Sent: 23 December 2010 11:55
| To: Simon Peyton-Jones
| Cc: cvs-ghc@haskell.org
| Subject: Re: patch applied (testsuite): Track changes in fuzzy-matching in
| error messages
| 
| On 22/12/2010 17:55, Simon Peyton Jones wrote:
| > Wed Dec 22 09:55:10 PST 2010  simo...@microsoft.com
| >    * Track changes in fuzzy-matching in error messages
| 
| This is cool, but I think we could tweak the defaults a bit.  e.g.:
| 
| arrowfail002.hs:6:17:
|   Not in scope: `x'
|   Perhaps you meant one of these: `f' (line 7), `g' (line 6)
| 
| Maybe disable fuzzy matching for single-character identifiers?
| 
| Cheers,
|       Simon


_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to