Re: find module of `fromJust Nothing'

2006-11-13 Thread Claus Reinke
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

Re: find module of `fromJust Nothing'

2006-11-13 Thread Ketil Malde
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

Re: find module of `fromJust Nothing'

2006-11-13 Thread Serge D. Mechveliani
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

RE: find module of `fromJust Nothing'

2006-11-13 Thread Simon Peyton-Jones
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

find module of `fromJust Nothing'

2006-11-13 Thread Serge D. Mechveliani
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 --