[Haskell-cafe] better error message for "undefined"

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Sep 10 08:08:44 EDT 2009

Hello Andrew,

Thursday, September 10, 2009, 4:02:27 PM, you wrote:
> is there a way to have different kinds of undefined? such that i get a message
> which one was hit. something like writing in the code 'unefined 'my error 123'
> which prints 'undefined - my error 123' when it is accidentally hit.

error "my error 123"

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list