Warning out when "undefined" value has been used.
Programmer may like to use "undefined" to define a function or value, which usually means "later implementation".
However, people might forget to implement it thus cause run time error. Wish GHC will show some warning/errors at compilation.
This idea comes from this article (http://www.devalot.com/articles/2013/07/why-haskell.html)
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |