find module of `fromJust Nothing'
Ketil Malde
ketil at ii.uib.no
Mon Nov 13 16:14:16 EST 2006
Serge D. Mechveliani wrote:
> On Mon, Nov 13, 2006 at 12:17:07PM +0000, Simon Peyton-Jones wrote:
>
>
>> The "Maybe.fromJust: Nothing" comes from the library code itself.
>> The "Nat1" part is simply the name of the binary. It give no clue to
>> who called fromJust.
>>
>
>
> I do not understand the whole idea.
> First, the same problem is for many functions: head, tail, and others.
>
I often end up using CPP to #define replacements for these, using the
__LINE__ and __FILE__ macros to identify the source of the error.
-k
More information about the Glasgow-haskell-users
mailing list