Re: [GHC] #3788: Improved message for GHC "No instance for" Errors

2010-02-08 Thread GHC
#3788: Improved message for GHC "No instance for" Errors
---+
  Reporter:  rhapsodyv |  Owner:  
  Type:  bug   | Status:  closed  
  Priority:  normal|  Milestone:  6.12.2  
 Component:  Compiler  |Version:  6.10.4  
Resolution:  wontfix   |   Keywords:  errors  
Difficulty:| Os:  Unknown/Multiple
  Testcase:|   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---+
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 Not clear what is being proposed, no response from submitter.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3788: Improved message for GHC "No instance for" Errors

2010-01-13 Thread GHC
#3788: Improved message for GHC "No instance for" Errors
-+--
Reporter:  rhapsodyv |Owner:  
Type:  bug   |   Status:  new 
Priority:  normal|Milestone:  6.12.2  
   Component:  Compiler  |  Version:  6.10.4  
Keywords:  errors|   Difficulty:  
  Os:  Unknown/Multiple  | Testcase:  
Architecture:  Unknown/Multiple  |  Failure:  None/Unknown
-+--
Changes (by igloo):

  * type:  proposal => bug
  * milestone:  => 6.12.2


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3788: Improved message for GHC "No instance for" Errors

2010-01-04 Thread GHC
#3788: Improved message for GHC "No instance for" Errors
---+
  Reporter:  rhapsodyv |  Owner:  
  Type:  proposal  | Status:  new 
  Priority:  normal|  Milestone:  
 Component:  Compiler  |Version:  6.10.4  
Resolution:|   Keywords:  errors  
Difficulty:| Os:  Unknown/Multiple
  Testcase:|   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---+
Changes (by simonpj):

  * difficulty:  =>

Comment:

 Can you give a few examples of the error message you would like to see?
 That is:
  * A small program
  * The current error message
  * The error message you would prefer to have seen

 That would help me understand your suggestion.

 Thanks

 Simon

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #3788: Improved message for GHC "No instance for" Errors

2009-12-26 Thread GHC
#3788: Improved message for GHC "No instance for" Errors
-+--
Reporter:  rhapsodyv |   Owner:  
Type:  proposal  |  Status:  new 
Priority:  normal|   Component:  Compiler
 Version:  6.10.4|Keywords:  errors  
  Os:  Unknown/Multiple  |Testcase:  
Architecture:  Unknown/Multiple  | Failure:  None/Unknown
-+--
 Hi,

 I would like to propose a modification in the ghc message for "no
 instance for" errors.
 In the message, the ghc tells that there's no instance for the type
 you are using and it give you a hint that you can fix it adding a new
 instance for your type. But it don't tell me any instance alternative
 that already exists. So, if I don't know the correct type, I need to
 look at the documentation.

 At least for me, I get this message when I'm using the function in the
 wrong way or when I forget to specify the some function signature.
 It's quite rare the I want to add a new instance.
 Of course that it's not a problem to look at the documentation, but
 improving it can save a significant time and help the beginers to
 guess the error and how fix it.

 In C++ and Java, when I use g++ or javac and I make a wrong
 overloading, the compiler show me some alternatives. I think it help
 more than tell me to add a new overload to the function.

 It's possible to do it in ghc?

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs