ghc-5.02.x: getTcTyVar

2001-12-27 Thread Armin Groesslinger
Hello, when I try to compile the program below with ghc -fglasgow-exts -fallow-undecidable-instances ghc-5.02.1 and 5.02.2 (from today's CVS) go into an infinite loop saying getTcTyVar c{-r4D-} all the time instead of complaining for the missing instance X T c to derive Show S . Regards,

typecheck/TcMonad.lhs:736: Non-exhaustive patterns in function pp_orig

2001-11-01 Thread Armin Groesslinger
Hello, feeding the (incorrect) program given below to ghc (version 5.02 or today's CVS version from ghc-5-02-branch ) results in Test.hs:8: Could not deduce (Integral (Ratio a)) from the context (Integral a) Probable fix: Add (Integral (Ratio a)) to the type signature(s) for f

ghc-5.02: panic! NoCgInfo!

2001-10-16 Thread Armin Groesslinger
Hello, when I try to compile the program below with ghc -fglasgow-exts it says ghc-5.02: panic! (the `impossible' happened, GHC version 5.02): NoCgInfo! I couldn't find a smaller example because little modifications make the problem go away, e.g. - removing the type signature for

unhandled ELF relocation(RelA) type 23

2001-07-19 Thread Armin Groesslinger
Hello, when compiling GHC 5.00.x on Solaris with gcc 2.95.x I get this error when trying to start GHCI: 127 ghci ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 5.00.2, For Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \/\/

ghci 5.00(.1) ignores -L ?

2001-05-25 Thread Armin Groesslinger
Hello, I've been trying to start ghci 5.00 (Solaris) or 5.00.1 (Linux) with ghci -L/the/path -lglue (where libglue.so is in /the/path), which should load (according to Section 3.5.2 of the GHC Users Guide) libglue.so from /the/path, but ghci says Loading package std ... linking ... done.

ghci-5.00: the `impossible' happened

2001-05-09 Thread Armin Groesslinger
Hello, feeding the program --- module Main where import CForeign foreign import puts puts :: CString - IO () main :: IO () main = return () --- to ghci-5.00 (with ghci -package lang -fglasgow-exts Main.hs on x86/Linux) gives the following error:

Re[2]: [ANNOUNCE] HDoc: a javadoc for Haskell

2000-08-09 Thread Armin Groesslinger
On Tue, 08 Aug 2000 16:53:42 -0400 you wrote: Armin, Is HDoc also designed to work with the February 2000 version of Hugs98? Will it work under Linux and MacOS as well as under Win 32 (including Windows 2000)? --Benjamin L. Russell HDoc should run on any version of Hugs98 as it

[ANNOUNCE] HDoc: a javadoc for Haskell

2000-08-08 Thread Armin Groesslinger
Hello, I have written a small program, HDoc, which can generate HTML documents from specially annoted Haskell sources; currently it is possible to document functions, data types, classes and instances. The resulting documents are cross linked and - IMHO - they look pretty nice. So, HDoc does

Optimisation problem in pre-4.07-200000613 (and 4.06)

2000-06-24 Thread Armin Groesslinger
Dear GHC developers, I think I have found an optimisation problem in GHC pre-4.07-2613. I ran across that problem when compiling nhc98 (version 1.0pre19) without and then with -O. The follwoing program is a cut down version of a code excerpt from nhc98 (taken from