patch applied (testsuite): Track changes in fuzzy-matching in error messages

Simon Peyton-Jones simonpj at microsoft.com
Fri Dec 24 09:41:15 CET 2010


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

| -----Original Message-----
| From: Simon Marlow [mailto:marlowsd at gmail.com]
| Sent: 23 December 2010 11:55
| To: Simon Peyton-Jones
| Cc: cvs-ghc at 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  simonpj at 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




More information about the Cvs-ghc mailing list