changing configure --prefix later?

2003-03-26 Thread Malcolm Wallace
OK, I'm building ghc-5.04.3 freshly from source, but when running ./configure initially, I forgot to use the --prefix= option to set the final installation location. Now, after fourteen hours of building, I use `make install' and discover the mistake. :-( How can I recover the situation? I

RE: changing configure --prefix later?

2003-03-26 Thread Simon Marlow
OK, I'm building ghc-5.04.3 freshly from source, but when running ./configure initially, I forgot to use the --prefix= option to set the final installation location. Now, after fourteen hours of building, I use `make install' and discover the mistake. :-( How can I recover the situation?

RE: Fix in CVS ndeed Posix compile problem

2003-03-26 Thread Simon Marlow
SunOS 5.8 Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs gcc version 2.95.3 20010315 (release) In the posix related libaries there are two forign call definition. foreign import ccall unsafe getpwuid_r c_getpwuid_r :: CUid - Ptr CPasswd -

Re: Fix in CVS ndeed Posix compile problem

2003-03-26 Thread Ahn Ki-yung
Simon Marlow wrote: But the gcc says there are too many argument. There are two ways to go around. I change the foriegn call definition getpwuid_r == __posix_getpwuid_r I change the foriegn call definition getpwnam_r == __posix_getpwnam_r Thanks, I'll look into this. I left out two more

profiling question

2003-03-26 Thread Amanda Clare
I think this question was asked by someone else as part of another thread back in January, but I couldn't find an answer on the list archive. What do the zeros for entries mean in a time profiling report? If I want to know why getAppropriatePreds takes up so much time (14.7%) in my code, does the

Re: Arbitrary precision reals?

2003-03-26 Thread Alastair Reid
Tom Pledger [EMAIL PROTECTED] wrote: The floating point part of the GNU mp library looks difficult to fit into Haskell's numeric classes, because the type signatures in class Floating don't include a how-much-precision-do-you-want parameter. Fergus Henderson [EMAIL PROTECTED] writes: How

Re: Arbitrary precision reals?

2003-03-26 Thread Nils Anders Danielsson
On Tue, 25 Mar 2003, Tom Pledger wrote: I don't know whether arbitrary precision reals have been done in Haskell, but here's one of the issues... There is a Haskell implementation of exact real arithmetic using Linear Fractional Transformations, see

ANNOUNCE: hat-2.02

2003-03-26 Thread Malcolm Wallace
hat-2.02 http://www.haskell.org/hat/ We are pleased to announce a new release of Hat, the Haskell Tracer. Hat is a very useful tool for understanding and debugging programs. Hat is compiler

RE: Haskell help!

2003-03-26 Thread Weix, Rachel Lynn
Title: Re: Haskell help! P.S. The example given is for the set of sequences/strings (The,Masters) -Original Message- From: Weix, Rachel Lynn Sent: Wed 3/26/2003 4:30 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Haskell help! Currently I'm having

Theme One Project

2003-03-26 Thread Jon Awbrey
o~o~o~o~o~o My name is Jon Awbrey. I have returned to university in my 50's to work on a doctorate in systems engineering and also to capstone a few old projects that I did not get to finish up in my last millennium. In the process I have dug up one of my

Re: Haskell help!

2003-03-26 Thread Marc Ziegert
done. - marc Am Mittwoch, 26. Mrz 2003 23:32 schrieb Weix, Rachel Lynn: P.S. The example given is for the set of sequences/strings (The,Masters) -Original Message- From: Weix, Rachel Lynn Sent: Wed 3/26/2003 4:30 PM To: [EMAIL PROTECTED] Cc: [EMAIL

Printing in Haskell

2003-03-26 Thread Weix, Rachel Lynn
Title: Message How do I print something in Haskell, i.e. if I want to print what a certain variable contains, etc.? (Synomous to cout in C++, printf in C, System.out.println in Java, display in Scheme, etc.) Rachel

Re: Printing in Haskell

2003-03-26 Thread Glynn Clements
Weix, Rachel Lynn wrote: How do I print something in Haskell, i.e. if I want to print what a certain variable contains, etc.? (Synomous to cout in C++, printf in C, System.out.println in Java, display in Scheme, etc.) Use putStrLn to print a string; use show to convert a value to a string.

Asynchronous exceptions and resume

2003-03-26 Thread Nick Name
Hi all, is there a way, or is it planned to, or has anyone published articles on... resuming from asynchronous exceptions? I mean: it would be useful there was a suspend :: ThreadID - IO () where the result is the remaining computation of the other thread, wich one could forkIO again, or

Re: how to track down infinite loop?

2003-03-26 Thread Olaf Chitil
David Roundy wrote: Any ideas for tricks to see where a program is looping indefinitely? I'm sure I can track down this bug pretty easily, but is seems like this is something one really ought to be able to do... May I answer your question by advertising the Haskell tracer Hat?

Re: how to track down infinite loop?

2003-03-26 Thread David Roundy
On Wed, Mar 26, 2003 at 07:40:30AM -0800, Andy Moran wrote: On Wednesday 26 March 2003 07:23 am, David Roundy wrote: I would try using Debug.Trace.trace. It takes a string and an expression, and returns the expressions while outputting the string to stderr (I think). You can choose your