Re: where is the full stack trace assigned to its id

2007-09-27 Thread Ian Lynagh
On Sun, Sep 23, 2007 at 10:39:48AM +0200, Peter Hercek wrote: App was compiled with ghc -make -prof -auto-all files ... and run with app.exe appSpecificOptions +RTS -hc I expected it to be in app.exe.prof (as it is with -hr option), but that file is empty. If you also pass -p when

Re: Generics in 6.8.0 RC

2007-09-27 Thread Ian Lynagh
Hi Dirk, On Sat, Sep 22, 2007 at 10:45:50AM +0200, Dirk Kleeblatt wrote: ghc-6.8.0.20070920-i386-unknown-linux.tar.bz2 Gen.hs:13:0: Can't find interface-file declaration for variable GHC.Base.$gfromBool Probable cause: bug in .hi-boot file, or inconsistent .hi file

Re: Newbie problem: lexical error when compiling

2007-09-27 Thread Ian Lynagh
On Sun, Sep 16, 2007 at 10:05:53PM +0200, Wagner Ferenc wrote: David Schonberger [EMAIL PROTECTED] writes: 'ghc -o hello hello.hs' and received the following error: hello.hs:1:0 lexical error at character '\65279'. See http://en.wikipedia.org/wiki/Byte_Order_Mark Somehow you'll have

RE: type families + GADT = type unsafety?

2007-09-27 Thread Simon Peyton-Jones
| | simonpj writes there: | Manuel is about to nuke the old GADT stuff in favour of the new type- | family | stuff. | | This doesn’t mean that GADTs are being dropped in favor of type | families, does | it? | No... it's an implementation matter only, invisible to programmers Simon

Re: module containing GADTs no longer compiles in ghc 6.8.0

2007-09-27 Thread Daniel Gorín
Hi Simon, Thanks for your prompt response. Actually, the problem was with lambda patterns containing GADT constructors in let bindings and I guess GHC doesn't like that anymore. After replacing them with case statements everything compiles fine as long as I don't turn on -O2