logo       

RE: ghci `Probable fix' non-exhaustive pattern exception: msg#00077

lang.haskell.glasgow.bugs

Subject: RE: ghci `Probable fix' non-exhaustive pattern exception

Good bug report. Fixed!

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-
| bounces@xxxxxxxxxxx] On Behalf Of Remi Turk
| Sent: 20 February 2005 18:12
| To: glasgow-haskell-bugs@xxxxxxxxxxx
| Subject: ghci `Probable fix' non-exhaustive pattern exception
|
| Good evening,
|
| the following says it all:
|
| ~% /var/tmp/ghc/bin/ghci /tmp/foo.hs
| ___ ___ _
| / _ \ /\ /\/ __(_)
| / /_\// /_/ / / | | GHC Interactive, version 6.4.20050215, for
Haskell 98.
| / /_\\/ __ / /___| | http://www.haskell.org/ghc/
| \____/\/ /_/\____/|_| Type :? for help.
|
| Loading package base-1.0 ... linking ... done.
| Compiling Main ( /tmp/foo.hs, interpreted )
|
| /tmp/foo.hs:64:6:
| No instance for (Show c)
| arising from use of `show' at /tmp/foo.hs:64:6-9
| Probable fix:*** Exception: typecheck/TcSimplify.lhs:2389:8-82:
Non-exhaustive patterns in
| function add_ors
|
| >
|
|
| The "work-in-progress" source causing it is attached.
|
| Happy hacking,
| Remi
|
| --
| Nobody can be exactly like me. Even I have trouble doing it.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise