Re: GHC internal error

2010-04-05 Thread Philip Weaver
Yes, I can do that. However, I'm hoping to narrow it down a lot more so that I can file a more useful bug report. Since sending my last email, I have learned a bit more: I was using 'fail' (the Monad being ReaderT . StateT . ST) to report errors. If I replace 'fail msg' with 'error msg' or 'ret

GHC internal error

2010-04-05 Thread Philip Weaver
Hi all, A program that I built with GHC is crashing at runtime with the following error: internal error: eval_thunk_selector: strange selectee 12 I have not found much via Google, just an old post regarding ghc 6.0 that recommends cleaning and rebuilding. I have cleaned the build directory

Re: ANNOUNCE: GHC 6.12.1 Release Candidate 1

2009-10-12 Thread Philip Weaver
On Sun, Oct 11, 2009 at 1:41 PM, Ian Lynagh wrote: > > Hi all, > > We are pleased to (finally!) announce the first release candidate > for GHC 6.12.1: > > > http://darcs.haskell.org/~ghc/dist/6.12.1rc1/ > > As well as the source tarball: >g

Re: the impossible happened, large static list.

2009-01-30 Thread Philip Weaver
On Fri, Jan 30, 2009 at 3:28 AM, Simon Marlow wrote: > Philip Weaver wrote: > >> Hello. I think I've seen other people encounter this problem before, but >> I wasn't able to find the solution, if there is one. >> >> I have a very large static list

the impossible happened, large static list.

2009-01-28 Thread Philip Weaver
Hello. I think I've seen other people encounter this problem before, but I wasn't able to find the solution, if there is one. I have a very large static list of type [[Int]]. It is 128 lists of 128 integers each. When I try to load the module that defines this list, I get an error: ghc: pan

Re: invoking a Haskell script without a .hs extension

2008-08-17 Thread Philip Weaver
On Sun, Aug 17, 2008 at 8:45 PM, Paul Jarc <[EMAIL PROTECTED]> wrote: > I have a Haskell script called "notify", without a .hs extension, > which causes some problems. (I'm using ghc 6.8.3.) > > First attempt: runhaskell notify > Without the .hs extension, ghc doesn't know it's a Haskell script,

Re: Implicit Function Arguments

2008-06-29 Thread Philip Weaver
> I am under the impression they are deprecated and slated for removal. > This is the second time I have seen someone comment on implicit parameters being planned for removal, so now you have my attention :). I'd like to mention that a rather large project where I work (Galois, Inc.) uses implicit

Re: GHCi is being too "helpful"

2008-01-25 Thread Philip Weaver
You want -fno-print-bind-results, which can be passed to ghci at the command line or set within ghci using :set. I found your answer in this guide: http://www.haskell.org/ghc/docs/latest/html/users_guide/interactive-evaluation.html - Phil On Jan 25, 2008 7:37 AM, Dinko Tenev <[EMAIL PROTECTED]>

Re: Link failures using GHC 6.8.2 on OS X 10.1.11 (PPC)

2008-01-23 Thread Philip Weaver
If you're building something that has leftover *.o and *.hi files from a previous version of ghc, that might cause the problem. Try to rm *.o *.hi ? This seemed to work for me one time. - Phil On Jan 23, 2008 8:38 AM, Robin Houston <[EMAIL PROTECTED]> wrote: > This morning I downloaded and ins

Re: Haddock won't build on 6.8.1

2007-12-17 Thread Philip Weaver
You probably need to add 'directory' to the depends in the .cabal file. - Phil On Dec 17, 2007 2:27 PM, Deborah Goldsmith <[EMAIL PROTECTED]> wrote: > I see this: > > $ runhaskell ./Setup.lhs build > Preprocessing executables for haddock-0.8... > shift/reduce conflicts: 5 > Building haddock-0.8

Re: GHC 6.8.1 on Mac OS 10.5 Leopard (Intel) - Configure fails

2007-12-10 Thread Philip Weaver
"configure: error: cannot determine current directory" I had this error message, too. I looked in the configure script, and couldn't figure out what craziness it was doing to get the current directory. I changed it to just do 'pwd', but I didn't get much farther. I gave up and built from source

GHC 6.7 on OS X - Readline error

2007-05-23 Thread Philip Weaver
Hello all, My first email to this list, so I apologize if I don't ask my question appropriately... I have GHC 6.6 installed on an Intel Mac (Tiger 10.4), with the readline package installed and System.Console.Readline module working fine. However, when I try to build GHC 6.7 from source (I have