[Haskell-cafe] Extending the idea of a general Num to other types?

Peter Verswyvelen bf3 at telenet.be
Wed Sep 5 05:02:21 EDT 2007


IMHO error reporting should be done in a hierarchical manner, so that 
you get a very brief description first, followed by many possible hints 
for fixing it, and each hint could have subhints etc... Now to make this 
easy to read, it should be integrated into some IDE of course, otherwise 
it would scare the hell out of newbies. When the system gets more clever 
(=AI stuff), it can hide much of the hierarchy, suggesting which hint is 
appropriate for the specific type of user. After all, depending on your 
skills, you will create different errors (although the stupid typo will 
be the most frequent?). Now I'm sure Simon can do the AI part much 
better than any computer ;-)

Cheers,
Peter Verswyvelen






More information about the Haskell-Cafe mailing list