Proposal to deprecate and then drop fromJust

Henning Thielemann lemming at henning-thielemann.de
Tue Feb 24 10:18:31 UTC 2015



On Mon, 23 Feb 2015, Andrew Gibiansky wrote:

> IMHO removing fromJust would be a bad idea; although it may be overused 
> there are certainly times and places where it is useful. In addition, it 
> seems like the real issue is that "error" needs to give better stack 
> traces,

No, sorry, "error" must not be used for exceptions! The programmer must 
make sure, that "error" is never called. Stack traces do not assert this.


More information about the Libraries mailing list