Re: [GHC] #710: library reorganisation

2006-07-29 Thread GHC
#710: library reorganisation -+-- Reporter: simonmar| Owner: Type: task| Status: new Priority: normal | Milestone: 6.6 Component:

GHCi on loosing its handles takes 100% CPU

2006-07-29 Thread Neil Mitchell
Hi On Windows, GHC 6.4.2, the following program: import System.Process main = runInteractiveCommand ghc When run terminates immediately, as expected, but leaves an instance of ghc running. The ghc process takes up 100% of the CPU time, and seemingly does nothing. If ghci is used as the

Re[2]: GHC 6.4.3 is stalled

2006-07-29 Thread Bulat Ziganshin
Hello Simon, Friday, July 28, 2006, 5:30:47 PM, you wrote: on 6.4.1 threaded RTS was used only in specially build libs. in debugging versions of libs and GHCi single-threaded RTS was used. developers of threaded programs was complaining about this situation because it makes their debugging

Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-29 Thread p . tanski
GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: (1) Why not use the ARbitrary PRECision Computation Package (ARPREC) by David Bailey, Yozo Hida, Karthik Jeyabalan, Xiaoye Li and Brandon Thompson? Here is a reference web page:

Re: Replacement for GMP as Bignum: ARPREC? Haskell?; OS-X and OpenSSL

2006-07-29 Thread Seth Kurtzberg
On Sat, 29 Jul 2006 21:45:21 -0400 [EMAIL PROTECTED] wrote: GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: (1) Why not use the ARbitrary PRECision Computation Package (ARPREC) by David Bailey, Yozo Hida, Karthik

(Repost) Replacement for GMP as Bignum: ARPREC? Haskell?; OS X and OpenSSL

2006-07-29 Thread p . tanski
(Sorry for the repost: I needed to correct a few typos--thanks Seth--and clarify a few things.) GHC Task Ticket # 601 suggests replacing GMP with OpenSSL's Bignum library, BN. I have two questions concerning this: (1) Why not use the ARbitrary PRECision Computation Package (ARPREC) by David

Re: Re: Rebuilding GHC on Mac OSX PPC

2006-07-29 Thread p . tanski
Sorry to flood your mailboxes with my junk, but I had a few questions on the configuration and Makefiles for building GHC on OS 10.4: The odd memory bugs (wierd malloc errors) seem to remind me of errors using pthreads... in Joel Reymont's email, I noticed that ghc is given the -threaded

[Haskell] thread-local variables (was: Re: Implicit Parameters)

2006-07-29 Thread Frederik Eaton
Hi, Sorry to bring up this thread from so long ago. On Wed, Mar 01, 2006 at 11:53:42AM +, Simon Marlow wrote: Ashley Yakeley wrote: Simon Marlow wrote: Simon I have discussed doing some form of thread-local state, which covers many uses of implicit parameters and is much preferable

Re: [Haskell] thread-local variables (was: Re: Implicit Parameters)

2006-07-29 Thread Thomas Conway
I would also note that some form of transaction-local variable would also be really handy for STM usage. Tom ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell-cafe] RE: ANN: System.FilePath 0.9

2006-07-29 Thread Udo Stenzel
Andrew Pimlott wrote: On Thu, Jul 27, 2006 at 09:59:37PM +0200, Udo Stenzel wrote: In fact, that's consistent with the current documentation, because * getFileName foo == foo * getFileName foo/ == I have to disagree with that. No, you don't. That's the current behaviour of Neil

[Haskell-cafe] commandline parsing?

2006-07-29 Thread Marc Weber
I've been using pesco_cmdline for a while now. But I did notice that it doesn't fit my needs.. And it took me quite a while to get to know why I was getting strange typeable errors when specifying the wrong default value or reading the wrong type.. (these errors occur at runtime thus they

Re: [Haskell-cafe] commandline parsing?

2006-07-29 Thread Neil Mitchell
Hi, Have you seen: System.Console.GetOpt http://www.haskell.org/ghc/docs/latest/html/libraries/base/System-Console-GetOpt.html Interestingly Hoogle doesn't seem to index it, but it does exist! (and in fact Hoogle even uses it...) Thanks Neil On 7/29/06, Marc Weber [EMAIL PROTECTED] wrote:

[Haskell-cafe] Sending Ctrl-C under Windows

2006-07-29 Thread Neil Mitchell
Hi, I want to send Ctrl-C to a process opened by runInteractiveCommand, under Windows. I have found System.Posix.Signals, but on Windows none of those methods exist. For further information, the processes I want to send Ctrl-C to are ghci and hugs, so doing something like terminateProcess

[Haskell-cafe] Serializing Functions and Actions for Distributed Programming

2006-07-29 Thread Brian Sniffen
I'm very excited by the ability to pass functions or IO actions between threads of the same program. But I don't see any language or library support for doing so between programs, or between sessions with the same program. OCaml provides a partial solution:

Re: [Haskell-cafe] Serializing Functions and Actions for Distributed Programming

2006-07-29 Thread Neil Mitchell
Hi I'm very excited by the ability to pass functions or IO actions between threads of the same program. But I don't see any language or library support for doing so between programs, or between sessions with the same program. OCaml provides a partial solution: I know Tom Shackell has been

Re: [Haskell-cafe] Serializing Functions and Actions for Distributed Programming

2006-07-29 Thread Jeremy Shaw
At Sat, 29 Jul 2006 14:07:51 -0400, Brian Sniffen wrote: I'm very excited by the ability to pass functions or IO actions between threads of the same program. But I don't see any language or library support for doing so between programs, or between sessions with the same program. There is

[Haskell-cafe] Baffled by Disk IO

2006-07-29 Thread Matthew Bromberg
I have run into a baffling distinction between the behavior of GHCi and the compiled binary from GHC. I suspect it's something pretty stupid on my part. I have the following test program test.hs import Matrix main = let f1 = bRgauss 4 3 f2 = bRgauss 3 2 fu = f1 *. f2 in bsave