logo       

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

lang.haskell.glasgow.bugs

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.

Attachment: foo.hs
Description: Text document

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise