Re: panic in 4.08.2.

2001-02-22 Thread George Russell
Simon Peyton-Jones wrote: [snip] > There's a simple workaround: > - don't export unfoldings for the offending module (GuardedChannels). > - or edit the .hi file by hand to remove the offending kind signature. > (I did this and it worked fine) > > Drat. [snip] Well the first workaround (hacking

RE: "Hello World" program core dumps with GHC 4.08.1 on HPUX 10.2 0

2001-02-22 Thread BENNETT,ANDY (HP-Unitedkingdom,ex1)
> I don't think there is a need for the "--- BEGIN ---" and > "--- END ---" macros with gcc-2.95.2 anymore. My mistake, GCC does generate a stack frame when the routine contains a function call - to newCAF for example. ___ Glasgow-haskell-bugs mailing

RE: panic in 4.08.2.

2001-02-22 Thread Simon Peyton-Jones
[Andrew: another place I currently omit types.] OK, this is a real bug, I fear. When the compiler puts a case alternative into an interface file, it omits the types on the binders: case x of (:) a b -> ... The type checker re-infers the types for a, b. This makes interface

RE: "Hello World" program core dumps with GHC 4.08.1 on HPUX 10.2 0

2001-02-22 Thread BENNETT,ANDY (HP-Unitedkingdom,ex1)
Hi Simon, After much messing about with the gcc and gas sources to help track down my problems with GHC on HP-UX, I think I've figured why I can't built it from scratch. I think GCC/GAS must have changed a bit since GHC was ported, and consequently the evil mangler is being a little too malicious

Re: Read file fails on Windows

2001-02-22 Thread Reuben Thomas
> I just installed ghc-4.08.2 on Windows NT. I tried the following program Make sure you've got the latest version of GHC (uploaded earlier today), though I can't see why it would fail with any earlier version either. Anyway, it works fine for me. -- http://sc3d.org/rrt/ | aphorism, n. a wise

panic in 4.08.2.

2001-02-22 Thread George Russell
Compiling the above Haskell file with ghc4.08.2 (Sparc-Solaris) and the hi files in the attached archive, options: -c -package concurrent -package data -package net -package posix -package text -package util -package lang -fglasgow-exts -fallow-overlapping-instances -fallow-undecidable-inst

Read file fails on Windows

2001-02-22 Thread Meurig Sage
Hi I just installed ghc-4.08.2 on Windows NT. I tried the following program module Main where import System main = do argv <- getArgs case argv of (inp:out:[]) -> do contents <- readFile inp writeFile out contents _ -> putStr "usage_msg " I com

RE: Documentation bug

2001-02-22 Thread Simon Marlow
> The online documentation of the concurrent package seems a > bit dated. I > just found out (by trial and error) that the functions > putCVar and getCVar > has changed names to readCVar and writerCVar. The name change > is great but > it would be nice if the documentation could reflect this.