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.
I keep wondering about this every time the topic comes up:
1 Haskell defines functi
Serge D. Mechveliani wrote:
On Mon, Nov 13, 2006 at 12:17:07PM +, 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
On Mon, Nov 13, 2006 at 12:17:07PM +, 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 f
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
| On Behalf Of Serge D. Mechveliani
| Sent: 13 November 2006 11:21
| To: glasgow-haskell-users@haskell.org
| Subject: find module of `fromJust Nothing'
|
| Who can advise, please, about an error message
|Nat1
Who can advise, please, about an error message
Nat1: Maybe.fromJust: Nothing
?
Probably, this is a bug in my program, and first, I need to locate it.
The head test module is Nat1.hs. The output is
--