Re: Newbie building GHC

2002-09-24 Thread Saswat Anand
I ran strace with -ff option. Attached is the trace file. I can see many No such file or directory in the trace. Can you see the problem? Thanks Saswat g Description: Binary data

RE: Newbie building GHC

2002-09-23 Thread Saswat Anand
Hi I am also facing the same problem. I tried to build a virgin tree, but with no success as Simon PJ has pointed out. I have attached my strace file. Saswat On Mon, 23 Sep 2002, Simon Marlow wrote: I have been trying to build GHC, but the ghc.exe that gets built for ghc-inplace

RE: meta-haskell-branch

2002-09-17 Thread Saswat Anand
Thanks for the pointer. I still get the following error, when I do gmake. echo '#!/bin/sh' ghc-inplace echo exec /root/fptools/ghc/compiler/ghc-5.05 '-B/root/fptools' '$@' ghc-inplace chmod 755 ghc-inplace

-O2

2002-04-15 Thread Saswat Anand
Hi, In my program I observe that, with -O2 flag turned on, Program 1 behaves like Program 2. And without O2, their outputs are different. Is it the desirable behaviour? For my program, I did not expect the optimizer to do this transformation. Thanks, Saswat Program 1: eval = \..-

RE: Why is (monad) elegance so costly?

2001-11-02 Thread Saswat Anand
Hi, I feel embarrased when I post newbie questions after one year of decent Haskell programming. But it feels much better to ask than to suffer in ignorance. My newbie question is: Could anyone explain why the second version of the following function is better. Is there a tutorial kind of

How to read heap Profile?

2001-10-05 Thread Saswat Anand
Hi, Ghc doc does not say much about how to read the heap profile (.hp file). Could somebody explain. And how can one tell from the graph generated by hp2ps if the program has space leak. Thanks, Saswat ___ Glasgow-haskell-users mailing list

Seq ??

2001-06-04 Thread Saswat Anand
In ghc-5.00.1, seq (2/0) 3 gives 3. Should it not give error. Hugs does. Thanks, S ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Instance Declaration discrepancy

2001-06-02 Thread Saswat Anand
class MyShow a where sh :: a - String instance (Integral a) = Show a where sh = Integer + show a Ghc 5.00.1 (with -fglasgow-exts) does not accept the above, while hugs with extensions has no problem with this. Is it a bug? Thanks, S ___

Re: Instance Declaration discrepancy

2001-06-02 Thread Saswat Anand
I am sorry for the typos. It should have been instance (Integral a) = Show a where sh a = Integer ++ (show a) class MyShow a where sh :: a - String instance (Integral a) = Show a where sh = Integer + show a Ghc 5.00.1 (with -fglasgow-exts) does not accept the above,

ghc hdirect on windows

2001-03-27 Thread Saswat Anand
I am trying to install ghc and hdirect on windows. But I have failed miserably. Initially I was able to install and run ghc, but after failing to run hdirect examples i did some changes to environment settings, and now none of them work. I also tried reinstalling both. 1. If I do mount c: /