Re: Digraph.lhs broken?

2006-08-18 Thread Joel Reymont
What's wierd is that I cannot run darcs annotate to see what patch changed the bit that's failing: darcs annotate -v compiler/hsSyn/Convert.lhs darcs failed: There is no file or directory named 'compiler/hsSyn/ Convert.lhs' ls -al compiler/hsSyn/Convert.lhs -rw-r--r-- 1 joelr joelr 2405

Re: Digraph.lhs broken?

2006-08-18 Thread Joel Reymont
hsSyn/Convert.lhs:625:32: Not in scope: `TH.pkgString' <(2 samples), 18M in use, 0.00 INIT (0.01 elapsed), 0.10 MUT (0.35 elapsed), 0.08 GC (0.17 elapsed) :ghc>> make[1]: *** [stage1/hsSyn/Convert.o] Error 1 -- http://wagerlabs.com/ ___ Glasgow

Re: Digraph.lhs broken?

2006-08-18 Thread Esa Ilari Vuokko
On 8/19/06, Joel Reymont <[EMAIL PROTECTED]> wrote: Thanks Esa! And what patch is this? /usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes - istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename - istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/ special

Re: Digraph.lhs broken?

2006-08-18 Thread Joel Reymont
Thanks Esa! And what patch is this? /usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes - istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename - istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/ specialise -istage1/simplCore -istage1/stranal -istage

Re: Digraph.lhs broken?

2006-08-18 Thread Esa Ilari Vuokko
On 8/19/06, Joel Reymont <[EMAIL PROTECTED]> wrote: /usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes - istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename - istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/ specialise -istage1/simplCore -istage1/str

Digraph.lhs broken?

2006-08-18 Thread Joel Reymont
/usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes - istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename - istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/ specialise -istage1/simplCore -istage1/stranal -istage1/stgSyn - istage1/simplStg -istage

Re: can not find prelude module

2006-08-18 Thread Seth Kurtzberg
If you repeat the make install step, things should work again. On Fri, 18 Aug 2006 09:59:31 -0700 (PDT) Liang Guang <[EMAIL PROTECTED]> wrote: > I originally used Redhat9.0, and the compilation is fine. But now I switched > to Fedora 5, the compiler said it can not find prelude module! > I use

can not find prelude module

2006-08-18 Thread Liang Guang
 I originally used Redhat9.0, and the compilation is fine. But now I switched to Fedora 5, the compiler said it can not find prelude module! I used Yum to install the ghc-6.4.2, and it is put to into /usr/lib/ghc-6.4.2. I tried to add the directory to the makefile as :  GHC_OPTS = -O2 -prof -auto-a

Re: GHCi hacking

2006-08-18 Thread Ulf Norell
On Aug 18, 2006, at 1:15 PM, Simon Peyton-Jones wrote: I have not followed the details, but you might consider using GHC as a library. That gives you all the facilities of GHCi, but as a library rather than as a separate process. I am. I'm using my own modified version of InteractiveUI.hs wh

Re: GHCi hacking

2006-08-18 Thread Ulf Norell
On Aug 18, 2006, at 1:06 PM, pepe wrote: If you have gone that far and modified ghci, wouldn't it be easier to disable the :load command and hardwire the loading of the UserLayer module ? Ah, but the thing is that the UserLayer is written by the user and so we don't know what it is before-h

RE: GHCi hacking

2006-08-18 Thread Simon Peyton-Jones
I have not followed the details, but you might consider using GHC as a library. That gives you all the facilities of GHCi, but as a library rather than as a separate process. http://haskell.org/haskellwiki/GHC/As_a_library Simon | -Original Message- | From: [EMAIL PROTECTED] [mai

Re: GHCi hacking

2006-08-18 Thread pepe
If you have gone that far and modified ghci, wouldn't it be easier to disable the :load command and hardwire the loading of the UserLayer module ? 1) CAFs (Constant Applicative Form) are essentially top level bindings. Top level bindings are closures, as anything in ghc, and they are in suspended

Re: GHCi hacking

2006-08-18 Thread Ulf Norell
On Aug 18, 2006, at 11:54 AM, Neil Mitchell wrote: If what you want is a shell like thing, Shellac will give it to you. If you want to evaluate arbitrary Haskell then hs-plugins will give it to you. If you want both, combine them. I want to evaluate arbitrary Haskell code, and I did start wit

Re: Is there a way to find out the type of a variable inside a function?

2006-08-18 Thread Andrew Wilcox
On 8/17/06, pepe <[EMAIL PROTECTED]> wrote: Visual Haskell can do that. And you are right, in my experience it can be very useful when 'reading' code. http://haskell.org/visualhaskell/ Look cool! Sadly, I'm running Linux, not Windows. Andrew ___ Gl

tickets that important for me

2006-08-18 Thread Bulat Ziganshin
Hello Bulat, Can you please fix the following problems in GHC 6.6.* (uncertainly in 6.6, 6.6.1 will be also good enough) http://hackage.haskell.org/trac/ghc/ticket/814 http://hackage.haskell.org/trac/ghc/ticket/637 -- Best regards, Bulat mailto:[EMAIL PROTECTED]

Re: GHCi hacking

2006-08-18 Thread Neil Mitchell
Hi, Have you seen: Shellac: http://www.eecs.tufts.edu/~rdocki01/shellac.html There was one with the JHC stuff which I'm sure i've seen hs-plugins: http://www.cse.unsw.edu.au/~dons/hs-plugins/ If what you want is a shell like thing, Shellac will give it to you. If you want to evaluate arbitrary

GHCi hacking

2006-08-18 Thread Ulf Norell
Hi. I want to use GHCi as the interface to my Application. The simple solution is to have the Application store its state in global IORefs. A user can then start up ghci with -package Application and use the provided functions to communicate with the Application. This works nicely. Now